16 But when the angel reached out over Jerusalem to destroy it, God felt the pain of the terror and told the angel who was spreading death among the people, "Enough's enough! Pull back!" The angel of God had just reached the threshing floor of Araunah the Jebusite. David looked up and saw the angel hovering between earth and sky, sword drawn and about to strike Jerusalem. David and the elders bowed in prayer and covered themselves with rough burlap.
Matthew Henry's Commentary on 2 Samuel 24:16
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.