1 Chronicles 21:7

And God was displeased with this thing; therefore he smote Israel.

Cross-reference

1 Chronicles 21:14 records the pestilence that struck Israel as the direct result of God's displeasure stated here—immediate consequence.

Joshua 7:1 Parallel

Joshua 7:1 shows Achan's sin bringing God's anger on Israel—same pattern of corporate punishment for one man's sin, paralleling David's census.

2 Samuel 21:1 tells of a famine due to Saul's sin—another instance of national punishment for a king's sin, paralleling David's census here.

In 2 Samuel 24:1, God's anger incites the census — same event but with different theological emphasis on divine action.

Genesis 38:10 uses the same 'displeased the LORD' idiom for Er's death — both show divine displeasure resulting in death.