The Repentance - 9:28 O you who believe, the idolaters are unclean; let them not approach the Holy Mosque after this year. If you fear poverty, Allah will, if He wills, enrich you with His bounty. Allah is All-Knowing, All-Wise.
What is the intention?
The Spider/29:25 "He said, "Your serving idols besides Allah is only to preserve friendship between you in the life of this world. But then, on the Day of Resurrection, you will deny one another and curse one another. Your destination is the Fire, and there you will find no helpers."

The Pilgrimage/22:25 Those who disbelieve, and turn away from the Holy Mosque and the way of Allah, which We have set apart for all people, both native and outsider, and seek therein wrongdoing and perversion, shall taste a painful torment from Us.
The Pilgrimage/22:26 "We placed Abraham in the place of the House (Ka´bah): "Do not associate anything with Me. And purify My House for the visitors and those who dwell therein and those who bow down and prostrate themselves."
The Pilgrimage/22:27 Announce to the people the pilgrimage. Let them come to you from far away on foot or by various means of transportation.
The Pilgrimage/22:28 "So that they may witness some (social, political, economic) benefits for themselves, and that they may remember the name of Allah on known days, for He has given them livestock as sustenance. "Eat of them and feed the poor in distress."