4But the king's word was stronger than Joab's. So Joab went out and went through all Israel and came to Jerusalem.
5And Joab gave David the number of all the people; all the men of Israel, able to take up arms, were one million, one hundred thousand men; and those of Judah were four hundred and seventy thousand men, able to take up arms.
6But Levi and Benjamin were not numbered among them, for Joab was disgusted with the king's order.
7And God was not pleased with this thing; so he sent punishment on Israel.
8Then David said to God, Great has been my sin in doing this; but now, be pleased to take away the sin of your servant, for I have done very foolishly.
9Then the word of the Lord came to Gad, David's seer, saying,
10Go and say to David, The Lord says, Three things are offered to you: say which of them you will have, so that I may do it to you.