2 Samuel 24:16-23

24:16 When the angel extended his hand to destroy Jerusalem, the Lord relented from his judgment. He told the angel who was killing the people, “That’s enough! Stop now!” (Now the Lord’s angel was near the threshing floor of Araunah the Jebusite.)

24:17 When he saw the angel who was destroying the people, David said to the Lord, “Look, it is I who have sinned and done this evil thing! As for these sheep – what have they done? Attack me and my family.”

David Acquires a Threshing Floor and Constructs an Altar There

24:18 So Gad went to David that day and told him, “Go up and build an altar for the Lord on the threshing floor of Araunah the Jebusite.” 24:19 So David went up as Gad instructed him to do, according to the Lord’s instructions.

24:20 When Araunah looked out and saw the king and his servants approaching him, he went out and bowed to the king with his face to the ground. 24:21 Araunah said, “Why has my lord the king come to his servant?” David replied, “To buy from you the threshing floor so I can build an altar for the Lord, so that the plague may be removed from the people.” 24:22 Araunah told David, “My lord the king may take whatever he wishes and offer it. Look! Here are oxen for burnt offerings, and threshing sledges and harnesses for wood. 24:23 I, the servant of my lord the king, give it all to the king!” Araunah also told the king, “May the Lord your God show you favor!”