1 Chronicles 21:18-30

David Builds an Altar

18 Then the angel of the LORD ordered Gad to tell David to go up to the threshing floor of Araunah, the Jebusite. He wanted David to build an altar there to honor the Lord.
19 So David went up and did it. He obeyed the message that Gad had spoken in the LORD's name.
20 Araunah was threshing wheat. He turned and saw the angel. His four children were with him. They hid themselves.
21 David approached the threshing floor. Araunah looked up and saw him. So Araunah left the threshing floor. He bowed down to David with his face toward the ground.
22 David said to him, "Let me have the property your threshing floor is on. I want to build an altar there to honor the Lord. When I do, the plague on the people will be stopped. Sell the threshing floor to me for the full price."
23 Araunah said to David, "Take it! King David, you are my master. Do what you please. I'll even provide the oxen for the burnt offerings. Use boards from the threshing sleds for the wood. Use the wheat for the grain offering. I'll give all of it to you."
24 But King David replied to Araunah, "No! I want to pay the full price. I won't take what belongs to you and give it to the Lord. I won't sacrifice a burnt offering that hasn't cost me anything."
25 So David paid Araunah 15 pounds of gold for the property.
26 David built an altar there to honor the Lord. He sacrificed burnt offerings and friendship offerings. He called out to the Lord. The LORD answered him by sending fire from heaven on the altar for burnt offerings.
27 Then the LORD spoke to the angel. And the angel put his sword away.
28 When the angel did that, David was still at the threshing floor of Araunah, the Jebusite. David saw that the LORD had answered him. So he offered sacrifices there.
29 At that time, the LORD's holy tent was at the high place in Gibeon. The altar for burnt offerings was there too. Moses had made the holy tent in the desert.
30 David couldn't go to the tent to pray to God. That's because he was afraid of the sword of the angel of the Lord.