 Both are related to self esteem, being this a crucial factor in defining how people look at ther behaviour.
<clarity>  Both are related to self esteem, being this a crucial factor in defining how people look at ther behaviour.
 Both are related to self-esteem, which is a crucial factor in defining how people look at ther behaviour.