The Lord was angry with Israel again, and he made David think it would be a good idea to count the people in Israel and Judah.