It isn't right to discriminate the general public of a country just because two countries don't get along.
"国同士が仲が悪いからといって(その国の)一般人まで差別するのは良くない。"
- It isn't right to discriminate the general public of a country just because two countries don't get along.(直訳に近いです)
- We shouldn't be mean to people just because their country doesn't get along with ours.(相手の国が自分の国と中悪いからその人に悪い思いをするのは良くない;でも上とほぼ同じニュアンスです。もっとカジュアルな感じだけです。)