Genetic? no.
Groups due to shared collective values and hierarchical power structures? Absolutely.
Do you think Christians individually came to the ethical conclusion that women shouldn't have bodily autonomy and chose a religion that fit with that? Of course not, the actions come from the allegiance.
Religious brainwashing removes people's empathy.