God was displeased with this thing; therefore he smote Israel. 1 Chronicles 21:7
Trivia: Why did God kill Er?