2 Samuel 24:10-17 - The Lord's Judgment Of David's Sin

10 Now David’s heart troubled him after he had numbered the people. So David said to the Lord, “I have sinned greatly in what I have done. But now, O Lord, please take away the iniquity of Your servant, for I have acted very foolishly.”

11 When David arose in the morning, the word of the Lord came to the prophet Gad, David’s seer, saying, 12 “Go and speak to David, ‘Thus the Lord says, “I am offering you three things; choose for yourself one of them, which I will do to you.”’”

13 So Gad came to David and told him, and said to him, “Shall seven years of famine come to you in your land? Or will you flee three months before your foes while they pursue you? Or shall there be three days’ pestilence in your land? Now consider and see what answer I shall return to Him who sent me.”

14 Then David said to Gad, “I am in great distress. Let us now fall into the hand of the Lord for His mercies are great, but do not let me fall into the hand of man.”

15 So the Lord sent a pestilence upon Israel from the morning until the appointed time, and seventy thousand men of the people from Dan to Beersheba died. 16 When the angel stretched out his hand toward Jerusalem to destroy it, the Lord relented from the calamity and said to the angel who destroyed the people, “It is enough! Now relax your hand!” And the angel of the Lord was by the threshing floor of Araunah the Jebusite.

17 Then David spoke to the Lord when he saw the angel who was striking down the people, and said, “Behold, it is I who have sinned, and it is I who have done wrong; but these sheep, what have they done? Please let Your hand be against me and against my father’s house.”