The purpose of food is to help you build a stronger army. Then with that army, you go ahead and raid more gold to build a better defense in order to advance to a new age.
When you just unlocked a new age, food is more important. Troop, caravan, wonder, castle all need them.
But when you are at...