16 But as the angel was preparing to destroy Jerusalem, the Lord relented and said to the death angel, "Stop! That is enough!" At that moment the angel of the Lord was by the threshing floor of Araunah the Jebusite. 17 When David saw the angel, he said to the Lord, "I am the one who has sinned and done wrong! But these people are as innocent as sheep-what have they done? Let your anger fall against me and my family."

18 That day Gad came to David and said to him, "Go up and build an altar to the Lord on the threshing floor of Araunah the Jebusite." 19 So David went up to do what the Lord had commanded him. 20 When Araunah saw the king and his men coming toward him, he came and bowed before the king with his face to the ground. 21 "Why have you come, my lord the king?" Araunah asked. David replied, "I have come to buy your threshing floor and to build an altar to the Lord there, so that he will stop the plague." 22 "Take it, my lord the king, and use it as you wish," Araunah said to David. "Here are oxen for the burnt offering, and you can use the threshing boards and ox yokes for wood to build a fire on the altar. 23 I will give it all to you, Your Majesty, and may the Lord your God accept your sacrifice." 24 But the king replied to Araunah, "No, I insist on buying it, for I will not present burnt offerings to the Lord my God that have cost me nothing." So David paid him fifty pieces of silver for the threshing floor and the oxen. 25 David built an altar there to the Lord and sacrificed burnt offerings and peace offerings. And the Lord answered his prayer for the land, and the plague on Israel was stopped.

Matthew Henry's Commentary on 2 Samuel 24:16-25

Commentary on 2 Samuel 24:16-17

(Read 2 Samuel 24:16-17)

Perhaps there was more wickedness, especially more pride, and that was the sin now chastised, in Jerusalem than elsewhere, therefore the hand of the destroyer is stretched out upon that city; but the Lord repented him of the evil, changed not his mind, but his way. In the very place where Abraham was stayed from slaying his son, this angel, by a like countermand, was stayed from destroying Jerusalem. It is for the sake of the great Sacrifice, that our forfeited lives are preserved from the destroying angel. And in David is the spirit of a true shepherd of the people, offering himself as a sacrifice to God, for the salvation of his subjects.

Commentary on 2 Samuel 24:18-25

(Read 2 Samuel 24:18-25)

God's encouraging us to offer to him spiritual sacrifices, is an evidence of his reconciling us to himself. David purchased the ground to build the altar. God hates robbery for burnt-offering. Those know not what religion is, who chiefly care to make it cheap and easy to themselves, and who are best pleased with that which costs them least pains or money. For what have we our substance, but to honour God with it; and how can it be better bestowed? See the building of the altar, and the offering proper sacrifices upon it. Burnt-offerings to the glory of God's justice; peace-offerings to the glory of his mercy. Christ is our Altar, our Sacrifice; in him alone we may expect to escape his wrath, and to find favour with God. Death is destroying all around, in so many forms, and so suddenly, that it is madness not to expect and prepare for the close of life.