From soil erosion to soil quality