conform
Definitions
To comply with rules, standards, or laws.
To behave according to socially acceptable conventions or standards.
To be similar in form or type; to agree or correspond.
Examples
The students were required to conform to the school's strict dress code.
It is often difficult for individuals to conform to societal expectations when they hold different beliefs.