Surah Al-Hajj 22:77
يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ ٱرْكَعُوا۟ وَٱسْجُدُوا۟ وَٱعْبُدُوا۟ رَبَّكُمْ وَٱفْعَلُوا۟ ٱلْخَيْرَ لَعَلَّكُمْ تُفْلِحُونَ ۩
O you who have believed, bow and prostrate and worship your Lord and do good - that you may succeed.
Translation: Saheeh International
Tafsir
O you who believe bow down and prostrate yourselves in other words perform prayer and worship your Lord affirm His Oneness and do good such as showing kindness to kin and the adoption of noble traits that perhaps you may be prosperous that perhaps you may secure everlasting life in Paradise.
Excerpt from Tafsir al-Jalalayn, commentary on 22:77, via Quran.com. The reader has the full commentary and 9 more tafsirs.