You are reading a tafsir for the group of verses 29:10 to 29:11
وَمِنَ
النَّاسِ
مَنْ
یَّقُوْلُ
اٰمَنَّا
بِاللّٰهِ
فَاِذَاۤ
اُوْذِیَ
فِی
اللّٰهِ
جَعَلَ
فِتْنَةَ
النَّاسِ
كَعَذَابِ
اللّٰهِ ؕ
وَلَىِٕنْ
جَآءَ
نَصْرٌ
مِّنْ
رَّبِّكَ
لَیَقُوْلُنَّ
اِنَّا
كُنَّا
مَعَكُمْ ؕ
اَوَلَیْسَ
اللّٰهُ
بِاَعْلَمَ
بِمَا
فِیْ
صُدُوْرِ
الْعٰلَمِیْنَ
۟
وَلَیَعْلَمَنَّ
اللّٰهُ
الَّذِیْنَ
اٰمَنُوْا
وَلَیَعْلَمَنَّ
الْمُنٰفِقِیْنَ
۟
3

(1)-It means that such people join the infidels when they apprehend some kind of torture from them, but when Allah's help will come to the Muslims in a battle against the infidels, they will pretend to be Muslims on the plea that they had joined the infidels only because they feared to be persecuted by them.

(2)-The sense is that they did not believe in Islam with their hearts, and this fact cannot: be concealed from Him, because He knows whatever lies in the hearts of the people.