2 Samuel 24:24-25 Lexham English Bible (LEB)

24. Then the king said to Araunah, “No, but I will certainly buy it from you for a price; I don’t want to offer to Yahweh my God burnt offerings that cost me nothing.” So David bought the threshing floor and the cattle for fifty shekels of silver.

25. David built an altar to Yahweh there, and he offered burnt offerings and fellowship offerings. Then Yahweh responded to his prayer for the land and brought the plague to a halt from upon Israel.

2 Samuel 24