2 Samuel 24:13-15 King James Version (KJV)
13 So Gad came to David, and told him, and said unto him, Shall seven years of famine come unto thee in thy land? or wilt thou flee three months before thine enemies, while they pursue thee? or that there be three days' pestilence in thy land? now advise, and see what answer I shall return to him that sent me.
14 And David said unto Gad, I am in a great strait: let us fall now into the hand of the Lord; for his mercies are great: and let me not fall into the hand of man.
15 So the Lord sent a pestilence upon Israel from the morning even to the time appointed: and there died of the people from Dan even to Beersheba seventy thousand men.