Once more the Philistines came up and spread out in the Valley of Rephaim;
so David inquired of the LORD, and he answered, "Do not go straight up, but circle around behind them and attack them in front of the balsam trees.
As soon as you hear the sound of marching in the tops of the balsam trees, move quickly, because that will mean the LORD has gone out in front of you to strike the Philistine army."
So David did as the LORD commanded him, and he struck down the Philistines all the way from Gibeon to Gezer.
David again brought together out of Israel chosen men, thirty thousand in all.
He and all his men set out from Baalah of Judah to bring up from there the ark of God, which is called by the Name, the name of the LORD Almighty, who is enthroned between the cherubim that are on the ark.
They set the ark of God on a new cart and brought it from the house of Abinadab, which was on the hill. Uzzah and Ahio, sons of Abinadab, were guiding the new cart
with the ark of God on it, and Ahio was walking in front of it.
David and the whole house of Israel were celebrating with all their might before the LORD, with songs and with harps, lyres, tambourines, sistrums and cymbals.
When they came to the threshing floor of Nacon, Uzzah reached out and took hold of the ark of God, because the oxen stumbled.
The LORD's anger burned against Uzzah because of his irreverent act; therefore God struck him down and he died there beside the ark of God.
Then David was angry because the LORD's wrath had broken out against Uzzah, and to this day that place is called Perez Uzzah.
David was afraid of the LORD that day and said, "How can the ark of the LORD ever come to me?"
He was not willing to take the ark of the LORD to be with him in the City of David. Instead, he took it aside to the house of Obed-Edom the Gittite.
The ark of the LORD remained in the house of Obed-Edom the Gittite for three months, and the LORD blessed him and his entire household.
Now King David was told, "The LORD has blessed the household of Obed-Edom and everything he has, because of the ark of God." So David went down and brought up the ark of God from the house of Obed-Edom to the City of David with rejoicing.
When those who were carrying the ark of the LORD had taken six steps, he sacrificed a bull and a fattened calf.
David, wearing a linen ephod, danced before the LORD with all his might,
while he and the entire house of Israel brought up the ark of the LORD with shouts and the sound of trumpets.
As the ark of the LORD was entering the City of David, Michal daughter of Saul watched from a window. And when she saw King David leaping and dancing before the LORD, she despised him in her heart.
They brought the ark of the LORD and set it in its place inside the tent that David had pitched for it, and David sacrificed burnt offerings and fellowship offerings before the LORD.
After he had finished sacrificing the burnt offerings and fellowship offerings, he blessed the people in the name of the LORD Almighty.
Then he gave a loaf of bread, a cake of dates and a cake of raisins to each person in the whole crowd of Israelites, both men and women. And all the people went to their homes.
When David returned home to bless his household, Michal daughter of Saul came out to meet him and said, "How the king of Israel has distinguished himself today, disrobing in the sight of the slave girls of his servants as any vulgar fellow would!"
David said to Michal, "It was before the LORD, who chose me rather than your father or anyone from his house when he appointed me ruler over the LORD's people Israel--I will celebrate before the LORD.
I will become even more undignified than this, and I will be humiliated in my own eyes. But by these slave girls you spoke of, I will be held in honor."
And Michal daughter of Saul had no children to the day of her death.
After the king was settled in his palace and the LORD had given him rest from all his enemies around him,
he said to Nathan the prophet, "Here I am, living in a palace of cedar, while the ark of God remains in a tent."
Nathan replied to the king, "Whatever you have in mind, go ahead and do it, for the LORD is with you."
That night the word of the LORD came to Nathan, saying:
"Go and tell my servant David, 'This is what the LORD says: Are you the one to build me a house to dwell in?
I have not dwelt in a house from the day I brought the Israelites up out of Egypt to this day. I have been moving from place to place with a tent as my dwelling.
Wherever I have moved with all the Israelites, did I ever say to any of their rulers whom I commanded to shepherd my people Israel, "Why have you not built me a house of cedar?" '
"Now then, tell my servant David, 'This is what the LORD Almighty says: I took you from the pasture and from following the flock to be ruler over my people Israel.
I have been with you wherever you have gone, and I have cut off all your enemies from before you. Now I will make your name great, like the names of the greatest men of the earth.
And I will provide a place for my people Israel and will plant them so that they can have a home of their own and no longer be disturbed. Wicked people will not oppress them anymore, as they did at the beginning