2 Samuel 5-6
Chapter 5: David: King of Jerusalem
Israel anoints David as king over all of Israel. The chapter tells us that David was 30 years old when he started his reign as king over Israel and that he reigned for 40 years! While he was in Hebron, David ruled over Judah for seven and a half years, and 33 years combined ruler over Israel and Judah. David goes into the land of Jerusalem and takes the stronghold of Zion, which is the same as the City of David. David builds up his city and even has other rulers send him people and materials to build himself a house. Because of all this David thought that the Lord must be with him, so he took more wives and had even more sons and daughters born to him.
The Philistines find out that David has become king and they are angered, so they come to battle against David. David inquires of the Lord as to whether he should attack, and the Lord comforts him, saying that he will deliver the Philistines into his hands. David smites the Philistines!
Chapter 6: The Ark of the Lord in the City of David
David gathers the best men of Israel (30,000 men in all) to go and get the Ark of the Covenant. They get the Ark and set it upon a new cart to be carried back from the house of Abinadab that was in Gibeah. As they marched back with the Ark, David and the entire house of Israel played instruments of all kinds. Uzzah touches the Ark (trying to steady it, because the oxen where shaking) and is killed by God for having touched it. Because of this David was displeased and it seemed like he was upset at God/fearing of God because he had killed Uzzah. So David didn’t want it placed in his city, so he sends it to the house of Obed-eom, where it rested for 3 months and while it was there, the family and whole house of Obed-eom was blessed.
David then has the Ark brought into the city of David and he dances before the Lord. This displeases Michal and causes then to be at a distance.