This depends on who you are asking. Those who are poor and don't have much money to buy food eat to live. Those that have enough money and tend to over eat live to eat.
Take food in an appropriate and balanced way. Everything in moderation, and not through gluttony.
I think it means live your life to the fullest and not live just for anything
.