2 Samuel 24:3-24-25 The Message (MSG)

10. But when it was all done, David was overwhelmed with guilt because he had counted the people, replacing trust with statistics. And David prayed to God, “I have sinned badly in what I have just done. But now God forgive my guilt—I’ve been really stupid.”

13. Gad came to deliver the message: “Do you want three years of famine in the land, or three months of running from your enemies while they chase you down, or three days of an epidemic on the country? Think it over and make up your mind. What shall I tell the one who sent me?”

14. David told Gad, “They’re all terrible! But I’d rather be punished by God, whose mercy is great, than fall into human hands.”

17. When David saw the angel about to destroy the people, he prayed, “Please! I’m the one who sinned; I, the shepherd, did the wrong. But these sheep, what did they do wrong? Punish me and my family, not them.”

2 Samuel 24