agriculture soon spread to neighboring areas and even developed independently in other regions as needs dictated , until most humans lived as farmers in permanent settlements near life-sustaining bodies of water .