hypocrisy

/hɪˈpɑkrəsi/
noun
  1. The practice of claiming to have moral standards or beliefs that one's own behavior does not match; pretense of virtue.
    • The politician's hypocrisy was exposed when he was caught taking bribes while campaigning against corruption.
    • Many people see a lot of hypocrisy in companies that claim to care about the environment but continue to pollute.
    • She accused her friend of hypocrisy for preaching about healthy eating while secretly eating junk food.