Surah Al-Baqarah 2:21
يَـٰٓأَيُّهَا ٱلنَّاسُ ٱعْبُدُوا۟ رَبَّكُمُ ٱلَّذِى خَلَقَكُمْ وَٱلَّذِينَ مِن قَبْلِكُمْ لَعَلَّكُمْ تَتَّقُونَ
O mankind, worship your Lord, who created you and those before you, that you may become righteous -
Translation: Saheeh International
Tafsir
O people of Mecca worship profess the oneness of your Lord Who created you made you when you were nothing and created those that were before you; so that you may be fearful of His punishment by worshipping Him la‘alla ‘so that’ is essentially an optative but when spoken by God it denotes an affirmative
Excerpt from Tafsir al-Jalalayn, commentary on 2:21, via Quran.com. The reader has the full commentary and 9 more tafsirs.