Farming also had a hand in the invention of math & geometry. You want to know things like "How much land do I have?" and "How much seed do I need to set aside for next season based on that size?" And also "Do I have more or less land than Ahmed next door?" Once taxes got invented, it became "Based on the size of your field and crop, you owe 8 talents."