2 Samuel 24:18-25

David builds an altar

18 That day, Gad went to David. He said to David, ‘Go up to the threshing floor of Araunah the Jebusite. Build an altar there to worship the Lord.’ 19 So David obeyed the Lord's message that Gad had spoken to him.

20 When Araunah looked, he saw the king and his officers. They were coming towards him. So he went out and he bent down low in front of the king, with his face towards the ground.

21 Araunah said, ‘My lord the king, why have you come here to me, your servant?’

David replied, ‘I have come to buy your threshing floor from you. I want to build an altar here to worship the Lord. Then he will stop this bad illness from killing the people.’

22 Araunah said to David, ‘My lord the king, take anything that you would like to offer to the Lord. You can take these oxen to offer as sacrifices. You can use the wood from these tools and yokes to make a fire. 23 I will give all these things to you sir, my lord the king.’

Araunah also said to the king, ‘I pray that the Lord your God will accept your offerings.’

24 But the king said to Araunah, ‘No, I must pay you for it. I will not burn as an offering to the Lord my God any sacrifice that costs me nothing.’

So David bought Araunah's threshing floor and his oxen for 50 silver coins. 25 Then he built an altar there to worship the Lord. He made burnt offerings and friendship offerings on the altar.

Then the Lord answered David's prayer. The illness stopped killing people in Israel.