وَمَا لَهُمْ أَلَّا يُعَذِّبَهُمُ ٱللَّهُ وَهُمْ يَصُدُّونَ عَنِ ٱلْمَسْجِدِ ٱلْحَرَامِ وَمَا كَانُوٓا۟ أَوْلِيَآءَهُۥٓ ۚ إِنْ أَوْلِيَآؤُهُۥٓ إِلَّا ٱلْمُتَّقُونَ وَلَٰكِنَّ أَكْثَرَهُمْ لَا يَعْلَمُونَ
22:26.
10:63, 64.
Commentary:
The verse purports to say that when the Quraish did not enjoy either of the two basic protections against Divine punishment (see preceding verse), they were being rightly punished for their false beliefs and wicked deeds. The verse also says that the Quraish have no right to act as guardians of the Sacred Mosque. As guardians thereof, they ought to have been worshippers of the One True God; but they have put idols even in the Sacred Mosque; hence, far from having any right to act as its guardians, they deserve to be expelled therefrom and punished for the sacrilege.
The words, Its true guardians are only those who are righteous, contain a prophecy to the effect that Muslims would soon become guardians of the Sacred Mosque, the words, most of them know not, signifying that although most of the disbelievers do not at present think this announcement to be true, yet it would surely come to pass.