A few examples that God DOES punish others;
I the Lord thy God am a jealous God, visiting the iniquity of the fathers upon the children unto the third and fourth generation.
A bastard shall not enter into the congregation of the LORD; even to his tenth generation shall he not enter into the congregation of the LORD.
1 Kings 2:33
Their blood shall therefore return upon the head of Joab, and upon the head of his seed for ever.
Isaiah 14:21Prepare slaughter for his children for the iniquity of their fathers; that they do not rise, nor possess the land, nor fill the face of the world with cities.
I'll expand on the question a little bit;
Does God punish the innocent for the sins of the guilty?
Let's not dwell on the issue that some of you don't believe that any man, woman or child is ever innocent. Let's just assume they are not directly connected to the sin that God feels needs punishing.
Feel free to discuss biblical and real world examples.