Hypocrisy (or being a hypocrite) is the act of opposing to a belief or behaviour while holding the same beliefs or behaviours at the same time.