So the LORD sent a plague on Israel, and seventy thousand men of Israel fell dead.
And God sent an angel to destroy Jerusalem. But as the angel was doing so, the LORD saw it and was grieved because of the calamity and said to the angel who was destroying the people, "Enough! Withdraw your hand." The angel of the LORD was then standing at the threshing floor of Araunah the Jebusite.
David looked up and saw the angel of the LORD standing between heaven and earth, with a drawn sword in his hand extended over Jerusalem. Then David and the elders, clothed in sackcloth, fell facedown.
David said to God, "Was it not I who ordered the fighting men to be counted? I am the one who has sinned and done wrong. These are but sheep. What have they done? O LORD my God, let your hand fall upon me and my family, but do not let this plague remain on your people."
Then the angel of the LORD ordered Gad to tell David to go up and build an altar to the LORD on the threshing floor of Araunah the Jebusite.
So David went up in obedience to the word that Gad had spoken in the name of the LORD.
While Araunah was threshing wheat, he turned and saw the angel; his four sons who were with him hid themselves.
Then David approached, and when Araunah looked and saw him, he left the threshing floor and bowed down before David with his face to the ground.
David said to him, "Let me have the site of your threshing floor so I can build an altar to the LORD, that the plague on the people may be stopped. Sell it to me at the full price."
Araunah said to David, "Take it! Let my lord the king do whatever pleases him. Look, I will give the oxen for the burnt offerings, the threshing sledges for the wood, and the wheat for the grain offering. I will give all this."
But King David replied to Araunah, "No, I insist on paying the full price. I will not take for the LORD what is yours, or sacrifice a burnt offering that costs me nothing."
So David paid Araunah six hundred shekels of gold for the site.
David built an altar to the LORD there and sacrificed burnt offerings and fellowship offerings. He called on the LORD, and the LORD answered him with fire from heaven on the altar of burnt offering.
Then the LORD spoke to the angel, and he put his sword back into its sheath.
At that time, when David saw that the LORD had answered him on the threshing floor of Araunah the Jebusite, he offered sacrifices there.
The tabernacle of the LORD, which Moses had made in the desert, and the altar of burnt offering were at that time on the high place at Gibeon.
But David could not go before it to inquire of God, because he was afraid of the sword of the angel of the LORD.
So David gave orders to assemble the aliens living in Israel, and from among them he appointed stonecutters to prepare dressed stone for building the house of God.
He provided a large amount of iron to make nails for the doors of the gateways and for the fittings, and more bronze than could be weighed.
He also provided more cedar logs than could be counted, for the Sidonians and Tyrians had brought large numbers of them to David.
David said, "My son Solomon is young and inexperienced, and the house to be built for the LORD should be of great magnificence and fame and splendor in the sight of all the nations. Therefore I will make preparations for it." So David made extensive preparations before his death.
Then he called for his son Solomon and charged him to build a house for the LORD, the God of Israel.
David said to Solomon: "My son, I had it in my heart to build a house for the Name of the LORD my God.
But this word of the LORD came to me: 'You have shed much blood and have fought many wars. You are not to build a house for my Name, because you have shed much blood on the earth in my sight.
But you will have a son who will be a man of peace and rest, and I will give him rest from all his enemies on every side. His name will be Solomon, and I will grant Israel peace and quiet during his reign.
He is the one who will build a house for my Name. He will be my son, and I will be his father. And I will establish the throne of his kingdom over Israel forever.'
"Now, my son, the LORD be with you, and may you have success and build the house of the LORD your God, as he said you would.
May the LORD give you discretion and understanding when he puts you in command over Israel, so that you may keep the law of the LORD your God.
Then you will have success if you are careful to observe the decrees and laws that the LORD gave Moses for Israel. Be strong and courageous. Do not be afraid or discouraged.
"I have taken great pains to provide for the temple of the LORD a hundred thousand talents of gold, a million talents of silver, quantities of bronze and iron too great to be weighed, and wood and stone. And you may add to them.
You have many workmen: stonecutters, masons and carpenters, as well as men skilled in every kind of work
in gold and silver, bronze and iron--craftsmen beyond number. Now begin the work, and the LORD be with you."
Then David ordered all the leaders of Israel to help his son Solomon.