Uriah answered, “The men of Israel and Judah are away in battle, and the Covenant Box is with them; my commander Joab and his officers are camping out in the open. How could I go home, eat and drink, and sleep with my wife? By all that's sacred, I swear that I could never do such a thing!”
The Lord sent the prophet Nathan to David. Nathan went to him and said, “There were two men who lived in the same town; one was rich and the other poor.
They brought the Box and put it in its place in the Tent that David had set up for it. Then he offered sacrifices and fellowship offerings to the Lord.
They took the Covenant Box to the tent which David had prepared for it and put it inside. Then they offered sacrifices and fellowship offerings to God.
The king followed the instructions that the Lord had given to King David through Gad, the king's prophet, and through the prophet Nathan; he stationed Levites in the Temple, with harps and cymbals,
The rest of the history of Solomon from beginning to end is recorded in The History of Nathan the Prophet, in The Prophecy of Ahijah of Shiloh, and in The Visions of Iddo the Prophet, which also deal with the reign of King Jeroboam of Israel.