I think we all have been, at a certain point in our lives, hypocrite. Maybe because we wanted to be part of a group in spite of not sharing the same values or because we "simply" wanted to hide a side of ourselves.
In my case, growing up and asserting myself have helped with not resorting to these methods anymore as I won't apologise for being myself.