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.
They brought the ark of God and set it inside the tent that David had pitched for it, and they presented burnt offerings and fellowship offerings before God.
After David had finished sacrificing the burnt offerings and fellowship offerings, he blessed the people in the name of the LORD.
Then he gave a loaf of bread, a cake of dates and a cake of raisins to each Israelite man and woman.
He appointed some of the Levites to minister before the ark of the LORD, to make petition, to give thanks, and to praise the LORD, the God of Israel:
Asaph was the chief, Zechariah second, then Jeiel, Shemiramoth, Jehiel, Mattithiah, Eliab, Benaiah, Obed-Edom and Jeiel. They were to play the lyres and harps, Asaph was to sound the cymbals,
and Benaiah and Jahaziel the priests were to blow the trumpets regularly before the ark of the covenant of God.
That day David first committed to Asaph and his associates this psalm of thanks to the LORD:
Give thanks to the LORD, call on his name; make known among the nations what he has done.
Sing to him, sing praise to him; tell of all his wonderful acts.
Glory in his holy name; let the hearts of those who seek the LORD rejoice.
Look to the LORD and his strength; seek his face always.
Remember the wonders he has done, his miracles, and the judgments he pronounced,
O descendants of Israel his servant, O sons of Jacob, his chosen ones.
He is the LORD our God; his judgments are in all the earth.
He remembers his covenant forever, the word he commanded, for a thousand generations,
the covenant he made with Abraham, the oath he swore to Isaac.
He confirmed it to Jacob as a decree, to Israel as an everlasting covenant:
"To you I will give the land of Canaan as the portion you will inherit."
When they were but few in number, few indeed, and strangers in it,
they wandered from nation to nation, from one kingdom to another.
He allowed no man to oppress them; for their sake he rebuked kings:
"Do not touch my anointed ones; do my prophets no harm."
Sing to the LORD, all the earth; proclaim his salvation day after day.
Declare his glory among the nations, his marvelous deeds among all peoples.
For great is the LORD and most worthy of praise; he is to be feared above all gods.
For all the gods of the nations are idols, but the LORD made the heavens.
Splendor and majesty are before him; strength and joy in his dwelling place.
Ascribe to the LORD, O families of nations, ascribe to the LORD glory and strength,
ascribe to the LORD the glory due his name. Bring an offering and come before him; worship the LORD in the splendor of his holiness.
Tremble before him, all the earth! The world is firmly established; it cannot be moved.
Let the heavens rejoice, let the earth be glad; let them say among the nations, "The LORD reigns!"
Let the sea resound, and all that is in it; let the fields be jubilant, and everything in them!
Then the trees of the forest will sing, they will sing for joy before the LORD, for he comes to judge the earth.
Give thanks to the LORD, for he is good; his love endures forever.
Cry out, "Save us, O God our Savior; gather us and deliver us from the nations, that we may give thanks to your holy name, that we may glory in your praise."
Praise be to the LORD, the God of Israel, from everlasting to everlasting. Then all the people said "Amen" and "Praise the LORD."
David left Asaph and his associates before the ark of the covenant of the LORD to minister there regularly, according to each day's requirements.
He also left Obed-Edom and his sixty-eight associates to minister with them. Obed-Edom son of Jeduthun, and also Hosah, were gatekeepers.
David left Zadok the priest and his fellow priests before the tabernacle of the LORD at the high place in Gibeon
to present burnt offerings to the LORD on the altar of burnt offering regularly, morning and evening, in accordance with everything written in the Law of the LORD, which he had given Israel.
With them were Heman and Jeduthun and the rest of those chosen and designated by name to give thanks to the LORD, "for his love endures forever."
Heman and Jeduthun were responsible for the sounding of the trumpets and cymbals and for the playing of the other instruments for sacred song. The sons of Jeduthun were stationed at the gate.
Then all the people left, each for his own home, and David returned home to bless his family.