Another way to say "having food is for ending your hunger" is "Hunger spurs people to eat."