It is not for Idolators to maintain the Masjids of Allah
Allah says;
مَا كَانَ لِلْمُشْرِكِينَ أَن يَعْمُرُواْ مَسَاجِدَ الله شَاهِدِينَ عَلَى أَنفُسِهِمْ بِالْكُفْرِ
It is not for the Mushrikin, to maintain the Masjids of Allah, while they witness against themselves of disbelief.
Allah says that it is not fitting that those who associate others with Allah in worship should maintain the Masjids of Allah that were built in His Name alone without partners.
Those who read the Ayah, "Masjid Allah", said that;
it refers to Al-Masjid Al-Haram, the most honored Masjid on the earth, which was built, from the first day, for the purpose of worshipping Allah alone without partners. It was built by Khalil Ar-Rahman (the Prophet Ibrahim) peace be upon him.
The idolators do this while they themselves testify to their disbelief with their statements and actions.
As-Suddi said,
"If you ask a Christian, `What is your religion', He will tell you he is a Christian. If you ask a Jew about his religion, he will say he is a Jew, and the same for a Sabi' and a Mushrik!"'
أُوْلَيِكَ حَبِطَتْ أَعْمَالُهُمْ
The works of such are in vain,
because of their Shirk,
وَفِي النَّارِ هُمْ خَالِدُونَ
and in Fire shall they abide.
Allah said in another Ayah,
وَمَا لَهُمْ أَلاَّ يُعَذِّبَهُمُ اللَّهُ وَهُمْ يَصُدُّونَ عَنِ الْمَسْجِدِ الْحَرَامِ وَمَا كَانُواْ أَوْلِيَأءَهُ إِنْ أَوْلِيَأوُهُ إِلاَّ الْمُتَّقُونَ وَلَـكِنَّ أَكْثَرَهُمْ لَا يَعْلَمُونَ
And why should not Allah punish them while they hinder (men) from Al-Masjid Al-Haram, and they are not its guardians! None can be its guardians except those with Taqwa, but most of them know not. (8;34)
Believers are the True Maintainers of the Masjids
Allah said