The study addresses the challenge of sustainable land management, which is crucial for agricultural production and soil quality (SQ), in the face of land degradation that negatively impacts crop production and SQ. The goal of the current work is to assess SQ using digital soil mapping (DSM) in Kafr El-Sheikh province, Egypt, to develop a framework employing two methods for soil quality index (SQI) assessment: the total data set (SQI-TDS) and a selected minimum data set (SQI-MDS) to choose indicators, along with a weighted additive SQI (SQIw), and a Random Forest (RF) model to predict and map the SQI, as well as the salt-affected soil indicators (EC, pH, and ESP). This framework uses remote sensing data: time series of Sentinel-1 (S-1) and Sentinel-2 (S-2) greenest pixel composite. Additionally, we incorporated environmental covariates derived from S-1 and S-2 imagery to understand their influence on SQ, which in turn informs land management practices, land degradation assessment, and crop productivity. The findings reveal a clear negative impact of salinity and alkalinity on SQ. We demonstrate the importance of Variance Inflation Factor (VIF) and Sequential Feature Selection (SFS) techniques for improving the performance of the RF model used for prediction. Notably, the greenest pixel composite imagery proved promising for SQI assessment using DSM beneath vegetation cover, crop mapping, and land-use dynamics. The precise SQI obtained is essential for decision-makers to detect land degradation, develop sustainable agricultural management strategies, and assess their appropriateness for developing plans and strategies to increase agricultural productivity.