2 Samuel 7:2

7:2 The king said to Nathan the prophet, “Look! I am living in a palace made from cedar, while the ark of God sits in the middle of a tent.”

2 Samuel 5:6

David Occupies Jerusalem

5:6 Then the king and his men advanced to Jerusalem against the Jebusites who lived in the land. The Jebusites said to David, “You cannot invade this place! Even the blind and the lame will turn you back, saying, ‘David cannot invade this place!’”

2 Samuel 11:1

David Commits Adultery with Bathsheba

11:1 In the spring of the year, at the time when kings normally conduct wars, David sent out Joab with his officers and the entire Israelite army. They defeated the Ammonites and besieged Rabbah. But David stayed behind in Jerusalem.

2 Samuel 16:3

16:3 The king asked, “Where is your master’s grandson?” Ziba replied to the king, “He remains in Jerusalem, for he said, ‘Today the house of Israel will give back to me my grandfather’s kingdom.’”

2 Samuel 18:24

18:24 Now David was sitting between the inner and outer gates, and the watchman went up to the roof over the gate at the wall. When he looked, he saw a man running by himself.

2 Samuel 19:8

19:8 So the king got up and sat at the city gate. When all the people were informed that the king was sitting at the city gate, they all came before him.

David Goes Back to Jerusalem

But the Israelite soldiers had all fled to their own homes.