Actually, the one attacking because they need food, is the one that already has the gold to research level 10 everything, and probably has gold plated walls, floors and ceiling in their town hall.
and is probably stripping said gold from the walls, floor and ceiling to pay for more food to feed their armies now that it is no longer possible to get enough from plundering.