〜が〜なら
if A is like that, (no wonder B is too)
Noun A が Noun A なら、Noun B も Noun B だ
Sign up free to review this point on a spaced schedule.
AがAなら、BもBだ says that A and B are as bad as each other: 親が親なら、子も子だ, "like parent, like child", said critically.
A and B are a related pair: parent and child, boss and staff, shop and customer, husband and wife, teacher and student. Repeating each noun means "the kind of X they are". The tone is always disapproving: both sides are to blame.
It's a fixed rhetorical pattern, common in conversation, gossip and TV dramas, and you can't make it positive.
Compare the proverb あの親にしてこの子あり (N1's にして), which can be either admiring or critical.
Examples
親が親なら、子も子だ。
Like parent, like child.
上司が上司なら、部下も部下だ。
The boss is bad, and his staff are no better.
店が店なら、客も客だ。
The shop is dodgy, and the customers are just as bad.
夫が夫なら、妻も妻だ。
The husband is bad, and the wife is no better.
先生が先生なら、生徒も生徒だ。
The teacher is hopeless, and so are the students.