2 Samuel 24:24-25 Catholic Public Domain Version (CPDV)

24. And in response, the king said to him: "It shall not be as you wish. Instead, I will purchase it from you at a price. For I will not offer to the Lord, my God, holocausts that cost nothing." Therefore, David bought the threshing floor and the oxen for fifty shekels of silver.

25. And in that place, David built an altar to the Lord. And he offered holocausts and peace offerings. And the Lord was gracious to the land, and the plague was held back from Israel.

2 Samuel 24