1 Chronicles 17:1; 1 Chronicles 17:3-4; 1 Chronicles 17:11-14; 1 Chronicles 21:18; 1 Chronicles 21:21-27

1 When David was settled in his palace, he summoned Nathan the prophet. “Look,” David said, “I am living in a beautiful cedar palace, but the Ark of the LORD ’s Covenant is out there under a tent!”
3 But that same night God said to Nathan, 4 “Go and tell my servant David, ‘This is what the LORD has declared: You are not the one to build a house for me to live in.
11 For when you die and join your ancestors, I will raise up one of your descendants, one of your sons, and I will make his kingdom strong. 12 He is the one who will build a house—a temple—for me. And I will secure his throne forever. 13 I will be his father, and he will be my son. I will never take my favor from him as I took it from the one who ruled before you. 14 I will confirm him as king over my house and my kingdom for all time, and his throne will be secure forever.’”
18 Then the angel of the LORD told Gad to instruct David to go up and build an altar to the LORD on the threshing floor of Araunah the Jebusite.
21 When Araunah saw David approaching, he left his threshing floor and bowed before David with his face to the ground. 22 David said to Araunah, “Let me buy this threshing floor from you at its full price. Then I will build an altar to the LORD there, so that he will stop the plague.” 23 “Take it, my lord the king, and use it as you wish,” Araunah said to David. “I will give the oxen for the burnt offerings, and the threshing boards for wood to build a fire on the altar, and the wheat for the grain offering. I will give it all to you.” 24 But King David replied to Araunah, “No, I insist on buying it for the full price. I will not take what is yours and give it to the LORD . I will not present burnt offerings that have cost me nothing!” 25 So David gave Araunah 600 pieces of gold in payment for the threshing floor. 26 David built an altar there to the LORD and sacrificed burnt offerings and peace offerings. And when David prayed, the LORD answered him by sending fire from heaven to burn up the offering on the altar. 27 Then the LORD spoke to the angel, who put the sword back into its sheath.