The Command to eat Lawful Food and to do Righteous Deeds
Allah commands His servants and Messengers, peace be upon them all, to eat lawful food and do righteous deeds, which indicates that eating what is lawful helps one to do righteous deeds. The Prophets, peace be upon them, did this in the most perfect manner, and did all kinds of good deeds in words, actions, guidance and advice. May Allah reward them with good on behalf of the people.
كُلُواْ مِنَ الطَّيِّبَـتِ
(Eat of the Tayyibat) Sa`id bin Jubayr and Ad-Dahhak said, "This means lawful. In the Sahih it says:
«وَمَا مِنْ نَبِيَ إِلَّا رَعَى الْغَنَم»
(There is no Prophet who was not a shepherd.) They asked, "And you, O Messenger of Allah" He said,
وَإِنَّ هَـٰذِهِ أُمَّتُكُمْ أُمَّةً وَاحِدَةً (And surely this is your creed, a single creed - 23:52). The word اُمَّہ is used to describe a group or the followers of a prophet. Sometimes it is also used in the sense of "faith", "creed" or "way of life", as in the verse وَجَدْنَا آبَاءَنَا عَلَىٰ أُمَّةٍ (We found our fathers upon a creed - 43:22). In the present verse the word ummah has been used in the latter sense.
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 52–54
Religion is originally one, and the same religion was taught to all the prophets. Religion enhances man spiritually so that he may discover God as an Almighty Being. His mind and soul should be imbued with the idea of the one God, Who is watching his every move, and after his death will take a reckoning of all his deeds. This realization (ma‘rifah) is the real religion. As a man enters the fold of realization, he begins to adopt righteous and pious methods in all his affairs. The realization of God essentially results in fear of God, and fear of God necessarily results in a pious life.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.