というだけで

just because

→ と
phrase Rare #24,070
just because Used after a clause or noun phrase to say that something is true for that reason alone; often used with 〜てはいけない to mean “must not ... just because ...”.
JA: 学生だというだけで、人を判断してはいけません。
EN: You shouldn't judge someone just because they are a student.

私達はその人がホームレスであるというだけで軽蔑すべきではありません

We shouldn't look down on someone just because they're homeless.

こんな美しい女性道にツバを吐いたというだけで逮捕したって警官は

What about the police officer who arrested such a beautiful woman—just for spitting on the street?

— カンフーハッスル (2004)

クマというだけで偏見を持つだがパディントン誰にでもいい部分を見つける

People are prejudiced against him just because he’s a bear, but Paddington finds the good in everyone.

— パディントン2 (2017)

貧しいというだけで人を軽蔑してはいけない

You shouldn't look down on people just because they're poor.

貧乏だからというだけで彼らを軽蔑してはいけない

You shouldn't look down on them just because they're poor.