Surah Al-'Ankabut 29:21
يُعَذِّبُ مَن يَشَآءُ وَيَرْحَمُ مَن يَشَآءُ ۖ وَإِلَيْهِ تُقْلَبُونَ
He punishes whom He wills and has mercy upon whom He wills, and to Him you will be returned.
Translation: Saheeh International
Tafsir
He chastises whomever He will to chastise and has mercy on whomever He will to have mercy and to Him you shall be returned.
Excerpt from Tafsir al-Jalalayn, commentary on 29:21, via Quran.com. The reader has the full commentary and 9 more tafsirs.