Endogamy
By marrying a person with the same group characteristics, it means that the partners will have similar views or beliefs about something. Many people marry endogamously for reasons of compatibility, which can be due to choice. But there are also other reasons when there is less choice involved or there is disapproval if it is not followed.