Surah Al-'Ankabut 29:10

The Spider · Verse 10 of 69 · Juz 20 · Page 397

وَمِنَ ٱلنَّاسِ مَن يَقُولُ ءَامَنَّا بِٱللَّهِ فَإِذَآ أُوذِىَ فِى ٱللَّهِ جَعَلَ فِتْنَةَ ٱلنَّاسِ كَعَذَابِ ٱللَّهِ وَلَئِن جَآءَ نَصْرٌ مِّن رَّبِّكَ لَيَقُولُنَّ إِنَّا كُنَّا مَعَكُمْ ۚ أَوَلَيْسَ ٱللَّهُ بِأَعْلَمَ بِمَا فِى صُدُورِ ٱلْعَـٰلَمِينَ

And of the people are some who say, "We believe in Allāh," but when one [of them] is harmed for [the cause of] Allāh, he considers the trial [i.e., harm] of the people as [if it were] the punishment of Allāh. But if victory comes from your Lord, they say, "Indeed, We were with you." Is not Allāh most knowing of what is within the breasts of the worlds [i.e., all creatures]?

Translation: Saheeh International

Tafsir

And among people there are those who say ‘We believe in God’ but if such a person suffers hurt in God’s cause he takes people’s persecution that is their harming of him to be the same as God’s chastisement in terms of his fear of it and so he obeys them and behaves hypocritically. …

Excerpt from Tafsir al-Jalalayn, commentary on 29:10, via Quran.com. The reader has the full commentary and 9 more tafsirs.