I believe the answer is: groupthink
Groupthink refers to a psychological phenomenon when a member of a certain group knowingly disregard their own principle to conform to the principle that is held by the majority of group members. This tend to happen if the individual is experiencing fear to be considered as an outcast within the group.