2 Samuel 24:15-25
24:15 So the Lord sent a plague through Israel from the morning until the completion of the appointed time. Seventy thousand men died from Dan to Beer Sheba.
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!”
24:24 But the king said to Araunah, “No, I insist on buying it from you! I will not offer to the Lord my God burnt sacrifices that cost me nothing.”
So David bought the threshing floor and the oxen for fifty pieces of silver.
24:25 Then David built an altar for the Lord there and offered burnt sacrifices and peace offerings. And the Lord accepted prayers for the land, and the plague was removed from Israel.