David and his men went to Jerusalem against the Jebusites, the people of the land who had said to David, "You shall not come in here, for the blind and the lame will turn you back," for they thought, "David cannot come in here."
David continued to grow more powerful, for the LORD of hosts was with him. And Hiram, king of Tyre, sent messengers to him, and cedar-trees and carpenters and masons, and they built a palace for him. So David knew that the LORD had made him ruler over Israel and his kingdom powerful for the sake of his people Israel.
David again gathered all the chief men of Israel, thirty thousand in all, and went with all the people to Baal-Judah, to bring up from there the ark of God. They placed the ark of God upon a new cart and brought it out of the house of Abinadab on the hill. Uzzah and Ahio, the sons of Abinadab, guided the cart. Uzzah went beside the ark of God, while Ahio went before it. David and all the people of Israel danced before the LORD with all their might to the music of harps and lyres and drums and castanets and cymbals.
When they came to the threshing-floor of Nachon, Uzzah stretched out his hand to hold up the ark of God, for the oxen stumbled. Then the anger of the LORD was aroused against Uzzah and he struck him down there, because he had stretched out his hand to the ark; so he died there in the presence of God. David was afraid of the LORD that day, and said, "How can the ark of the LORD come to me?" So David was not willing to remove the ark of the LORD to the City of David, but carried it aside to the house of Obed-edom, the Gittite, and it remained there three months. But the LORD blessed Obed-edom and all his family.
When the report came to David, "the LORD has blessed Obed-edom and all his family because of the ark of God," David joyfully brought up the ark from the house of Obed-edom to the City of David. When the bearers of the ark of the LORD had gone six paces, David offered an ox and a fat animal as a sacrifice; and he danced before the LORD with all his might, and he had about his waist a priestly garment made of linen. So David and all the house of Israel brought up the ark of the LORD with shouting and the blare of trumpets.
When they had brought in the ark of the LORD and had set it in its place in the tent that David had built for it, he offered burnt-offerings and sacrifices to the LORD. When David had finished offering these sacrifices, he blessed the people in the name of the LORD of hosts and gave to each of the many Israelites who were there, to both men and women, a roll of bread, a portion of meat, and a cake of raisins. Then all the people went back to their homes.
This message also from the LORD came to Nathan, the prophet: "You shall say to my servant David: 'the LORD of hosts declares, I took you from the pasture from following the sheep to be chief over my people Israel. I have been with you wherever you went, to destroy all your enemies before you, and I will make you a name, like that of the great in the earth. When your life is ended and you are buried with your fathers, I will raise up your son after you, and I will make his rule strong. I will be a father to him, and he shall be my son. When he goes astray I will gently correct him. I will not withdraw my favor from him as I withdrew it from Saul. Your house and your dominion shall always stand firm before me; your authority shall stand forever.'"