The river's annual flood deposited a fresh layer of silt renewing the fertility of the soil, and ensuring that, for the most part, the country was prosperous and the population sufficiently fed. The ancient Egyptians were fortunate in inhabiting the fertile valley of the Nile.