David conferred with each of his officers, the commanders of thousands and commanders of hundreds.
He then said to the whole assembly of Israel, "If it seems good to you and if it is the will of the LORD our God, let us send word far and wide to the rest of our brothers throughout the territories of Israel, and also to the priests and Levites who are with them in their towns and pasturelands, to come and join us.
Let us bring the ark of our God back to us, for we did not inquire of it during the reign of Saul."
The whole assembly agreed to do this, because it seemed right to all the people.
So David assembled all the Israelites, from the Shihor River in Egypt to Lebo Hamath, to bring the ark of God from Kiriath Jearim.
David and all the Israelites with him went to Baalah of Judah (Kiriath Jearim) to bring up from there the ark of God the LORD, who is enthroned between the cherubim--the ark that is called by the Name.
They moved the ark of God from Abinadab's house on a new cart, with Uzzah and Ahio guiding it.
David and all the Israelites were celebrating with all their might before God, with songs and with harps, lyres, tambourines, cymbals and trumpets.
When they came to the threshing floor of Kidon, Uzzah reached out his hand to steady the ark, because the oxen stumbled.
The LORD's anger burned against Uzzah, and he struck him down because he had put his hand on the ark. So he died there before 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 God that day and asked, "How can I ever bring the ark of God to me?"
He did not take the ark 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 God remained with the family of Obed-Edom in his house for three months, and the LORD blessed his household and everything he had.
Now Hiram king of Tyre sent messengers to David, along with cedar logs, stonemasons and carpenters to build a palace for him.
And David knew that the LORD had established him as king over Israel and that his kingdom had been highly exalted for the sake of his people Israel.
In Jerusalem David took more wives and became the father of more sons and daughters.
These are the names of the children born to him there: Shammua, Shobab, Nathan, Solomon,
Ibhar, Elishua, Elpelet,
Nogah, Nepheg, Japhia,
Elishama, Beeliada and Eliphelet.
When the Philistines heard that David had been anointed king over all Israel, they went up in full force to search for him, but David heard about it and went out to meet them.
Now the Philistines had come and raided the Valley of Rephaim;
so David inquired of God: "Shall I go and attack the Philistines? Will you hand them over to me?" The LORD answered him, "Go, I will hand them over to you."
So David and his men went up to Baal Perazim, and there he defeated them. He said, "As waters break out, God has broken out against my enemies by my hand." So that place was called Baal Perazim.
The Philistines had abandoned their gods there, and David gave orders to burn them in the fire.
Once more the Philistines raided the valley;
so David inquired of God again, and God answered him, "Do not go straight up, but circle around 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 out to battle, because that will mean God has gone out in front of you to strike the Philistine army."
So David did as God commanded him, and they struck down the Philistine army, all the way from Gibeon to Gezer.
So David's fame spread throughout every land, and the LORD made all the nations fear him.
After David had constructed buildings for himself in the City of David, he prepared a place for the ark of God and pitched a tent for it.
Then David said, "No one but the Levites may carry the ark of God, because the LORD chose them to carry the ark of the LORD and to minister before him forever."
David assembled all Israel in Jerusalem to bring up the ark of the LORD to the place he had prepared for it.
He called together the descendants of Aaron and the Levites:
From the descendants of Kohath, Uriel the leader and 120 relatives;
from the descendants of Merari, Asaiah the leader and 220 relatives;
from the descendants of Gershon, Joel the leader and 130 relatives;
from the descendants of Elizaphan, Shemaiah the leader and 200 relatives;
from the descendants of Hebron, Eliel the leader and 80 relatives;
from the descendants of Uzziel, Amminadab the leader and 112 relatives.
Then David summoned Zadok and Abiathar the priests, and Uriel, Asaiah, Joel, Shemaiah, Eliel and Amminadab the Levites.
He said to them, "You are the heads of the Levitical families; you and your fellow Levites are to consecrate yourselves and bring up the ark of the LORD, the God of Israel, to the place I have prepared for it.
It was because you, the Levites, did not bring it up the first time that the LORD our God broke out in anger against us. We did not inquire of him about how to do it in the prescribed way."
So the priests and Levites consecrated themselves in order to bring up the ark of the LORD, the God of Israel.
And the Levites carried the ark of God with the poles on their shoulders, as Moses had commanded in accordance with the word of the LORD.
David told the leaders of the Levites to appoint their brothers as singers to sing joyful songs, accompanied by musical instruments: lyres, harps and cymbals.
So the Levites appointed Heman son of Joel; from his brothers, Asaph son of Berekiah; and from their brothers the Merarites, Ethan son of Kushaiah;
and with them their brothers next in rank: Zechariah, Jaaziel, Shemiramoth, Jehiel, Unni, Eliab, Benaiah, Maaseiah, Mattithiah, Eliphelehu, Mikneiah, Obed-Edom and Jeiel, the gatekeepers.
The musicians Heman, Asaph and Ethan were to sound the bronze cymbals;
Zechariah, Aziel, Shemiramoth, Jehiel, Unni, Eliab, Maaseiah and Benaiah were to play the lyres according to "alamoth,"
and Mattithiah, Eliphelehu, Mikneiah, Obed-Edom, Jeiel and Azaziah were to play the harps, directing according to "sheminith."
Kenaniah the head Levite was in charge of the singing; that was his responsibility because he was skillful at it.
Berekiah and Elkanah were to be doorkeepers for the ark.
Shebaniah, Joshaphat, Nethanel, Amasai, Zechariah, Benaiah and Eliezer the priests were to blow trumpets before the ark of God. Obed-Edom and Jehiah were also to be doorkeepers for the ark.
So David and the elders of Israel and the commanders of units of a thousand went to bring up the ark of the covenant of the LORD from the house of Obed-Edom, with rejoicing.
Because God had helped the Levites who were carrying the ark of the covenant of the LORD, seven bulls and seven rams were sacrificed.
Now David was clothed in a robe of fine linen, as were all the Levites who were carrying the ark, and as were the singers, and Kenaniah, who was in charge of the singing of the choirs. David also wore a linen ephod.
So all Israel brought up the ark of the covenant of the LORD with shouts, with the sounding of rams' horns and trumpets, and of cymbals, and the playing of lyres and harps.
As the ark of the covenant of the LORD was entering the City of David, Michal daughter of Saul watched from a window. And when she saw King David dancing and celebrating, she despised him in her heart.