hypocrite

- Someone who acts in a way that contradicts what they say they believe in

... Barry claimed that he believed in honesty, but the way he usually lied when it was convenient showed that he was just a hypocrite