David lifted up his eyes, and saw the angel of Yahweh standing between earth and the sky, having a drawn sword in his hand stretched out over Jerusalem. Then David and the elders, clothed in sackcloth, fell on their faces.
So the LORD spoke to Gad, the prophet, and said to him, Go to David, and tell him that he has three choices: either [three months of famine in the land; or] three years rather of famine in the land; or three months to be destroyed before your enemies, while the sword of your enemies overtake you; or three days of the sword of the LORD, even the pestilence, in the land, and the angel of the LORD destroying throughout all the coasts of Israel. Now the prophet said to David, Advise me what I'm to tell the Lord who sent me to you. And so David said, I choose to throw myself on the mercy of God. I'll take the three days of God's pestilence in the land because I know He's merciful ( 1 Chronicles 21:9-10 , 1 Chronicles 21:12-13 ).