2 Samuel 24:16-23

16And when athe angel stretched out his hand toward Jerusalem bto destroy it, cthe Lord relented from the calamity and said to the angel dwho was working destruction among the people, “It is enough; now stay your hand.” And ethe angel of the Lord was by the threshing floor of fAraunah the Jebusite. 17Then David spoke to the Lord when he saw the angel who was striking the people, and said, “Behold, I have sinned, and I have done wickedly. But these sheep, what have they done? Please let your hand be against me and against my father’s house.”

David Builds an Altar

18And Gad came that day to David and said to him, “Go up, raise an altar to the Lord on the threshing floor of gAraunah the Jebusite.” 19So David went up at Gad’s word, as the Lord commanded. 20And when Araunah looked down, he saw the king and his servants coming on toward him. And Araunah went out and paid homage to the king with his face to the ground. 21And Araunah said, “Why has my lord the king come to his servant?” David said, “To buy the threshing floor from you, in order to build an altar to the Lord, that the plague hmay be averted from the people.” 22Then Araunah said to David, “Let my lord the king take and offer up what seems good to him. Here are the oxen for the burnt offering and the ithreshing sledges and the yokes of the oxen for the wood. 23All this, O king, Araunah gives to the king.” And Araunah said to the king, “May the Lord your God jaccept you.”

1 Chronicles 11:4-6

David Takes Jerusalem

4And David and all Israel went to Jerusalem, kthat is, Jebus, where the Jebusites were, lthe inhabitants of the land. 5The inhabitants of Jebus said to David, “You will not come in here.” Nevertheless, David took the stronghold of Zion, that is, the city of David. 6David said, “Whoever strikes the Jebusites first mshall be chief and commander.” And Joab the son of Zeruiah went up first, so he became chief.

1 Chronicles 21:15-30

15And God sent the angel to Jerusalem to destroy it, but as he was about to destroy it, the Lord saw, and he nrelented from the calamity. And he said to the angel who was working destruction, “It is enough; now stay your hand.” And the angel of the Lord was standing by the threshing floor of Ornan the Jebusite. 16And David lifted his eyes and saw the angel of the Lord standing between earth and heaven, and in his hand a drawn sword stretched out over Jerusalem. Then David and the elders, oclothed in sackcloth, fell upon their faces. 17And David said to God, “Was it not I who gave command to number the people? It is I who have sinned and done great evil. But these sheep, what have they done? Please let your hand, O Lord my God, be against me and against my father’s house. But do not let the plague be on your people.”

David Builds an Altar

18Now pthe angel of the Lord had commanded Gad to say to David that David should go up and raise an altar to the Lord on the threshing floor of Ornan the Jebusite. 19So David went up at Gad’s word, which he had spoken in the name of the Lord. 20Now Ornan was threshing wheat. He turned and saw the angel, and his four sons who were with him hid themselves. 21As David came to Ornan, Ornan looked and saw David and went out from the threshing floor and paid homage to David with his face to the ground. 22And David said to Ornan, “Give me the site of the threshing floor that I may build on it an altar to the Lordgive it to me at its full price—that the plague may be averted from the people.” 23Then Ornan said to David, “Take it, and let my lord the king do what seems good to him. See, I give the oxen for burnt offerings and the threshing sledges for the wood and the wheat for a grain offering; I give it all.” 24But King David said to Ornan, “No, but I will buy them for the full price. I will not take for the Lord what is yours, nor offer burnt offerings that cost me nothing.” 25So David paid Ornan q600 shekels
A  shekel was about 2/5 ounce or 11 grams
of gold by weight for the site.
26And David built there an altar to the Lord and presented burnt offerings and peace offerings and called on the Lord, and the Lord
Hebrew he
tanswered him with fire from heaven upon the altar of burnt offering.
27Then the Lord commanded the angel, and he put his sword back into its sheath.

28At that time, when David saw that the Lord had answered him at the threshing floor of Ornan the Jebusite, he sacrificed there. 29For the tabernacle of the Lord, which Moses had made in the wilderness, and the altar of burnt offering uwere at that time in the high place at Gibeon, 30but David could not go before it to inquire of God, for he was afraid of the sword of the angel of the Lord.

1 Chronicles 22:1

1Then David said, vHere shall be the house of the Lord God and here the altar of burnt offering for Israel.”

Copyright information for ESV