The Table Spread - 5:97 Allah has made the Ka´bah, the sacred house, the sacred months, the sacrifices and the wreaths marking them, a security for mankind. Know that Allah knows what is in the heavens and the earth. Allah is All-Knowing.
He made the Ka'bah, the holy house, a security element:
The Family Of Imran/3:96 The first house established for the people was the blessed house in Bakkah, a source of guidance for all peoples.
The Family Of Imran/3:97 There are clear signs there: It is the place of Abraham´s stand (against idolatry). Whoever enters it must be in safety. Those of the people who are able to travel are obliged to pilgrimage to that House (the Ka´bah) for the sake of Allah. Whoever disbelieves, let him know that Allah is not in need of anyone.

The Cow/2:125 "We have made the Ka´bah a focal point for the people and a place of safety. Use the seat of Abraham as a place of prayer. "We commissioned Abraham and Ishmael to keep My House clean for the visitors and those who devote themselves to worship and those who bow down and prostrate themselves."
The Cow/2:126 "Ibrahim said, "My Lord, make this a place of safety. Provide for your people who believe in Allah and the Last Day with crops,"when he said, "I will provide for the disbeliever. I will provide for him for a short time, then I will condemn him to the punishment of the Fire. What an evil abode is that!"