And when the angel stretched out His hand over Jerusalem to destroy it, the LORD relented from the destruction, and said to the angel who was destroying the people, “It is enough; now restrain your hand.” And the angel of the LORD was by the threshing floor of Araunah the Jebusite.
Then David spoke to the LORD when he saw the angel who was striking the people, and said, “Surely I have sinned, and I have done wickedly; but these sheep, what have they done? Let Your hand, I pray, be against me and against my father’s house.”
And Gad came that day to David and said to him, “Go up, erect an altar to the LORD on the threshing floor of Araunah the Jebusite.” So David, according to the word of Gad, went up as the LORD commanded. Now Araunah looked, and saw the king and his servants coming toward him. So Araunah went out and bowed before the king with his face to the ground.
Then Araunah said, “Why has my lord the king come to his servant?”
And David said, “To buy the threshing floor from you, to build an altar to the LORD, that the plague may be withdrawn from the people.”
Now Araunah said to David, “Let my lord the king take and offer up whatever seems good to him. Look, here are oxen for burnt sacrifice, and threshing implements and the yokes of the oxen for wood. All these, O king, Araunah has given to the king.”
And Araunah said to the king, “May the LORD your God accept you.”
Then the king said to Araunah, “No, but I will surely buy it from you for a price; nor will I offer burnt offerings to the LORD my God with that which costs me nothing.” So David bought the threshing floor and the oxen for fifty shekels of silver. And David built there an altar to the LORD, and offered burnt offerings and peace offerings. So the LORD heeded the prayers for the land, and the plague was withdrawn from Israel.