Alternatives to "hypocrite"
Solution 1:
The idiom that describes this behavior is: "Do as I say and not as I do." However, it's usually said by the person exhibiting the contradictory behavior and not those categorizing them.
Solution 2:
I have heard someone use
I am a prophet, not a saint.
A prophet is one who comes to the world to give us a message. Here it refers to how he criticizes others for their wrongdoings.
A saint is one who does good things. Here it refers to how he does the same bad thing that he criticizes others for.
Solution 3:
If you don't mind using a Biblical allusion which may not be immediately obvious to your audience, you could go with whitewashed tomb.
Solution 4:
If you don't mind it as an adjective, this person is either:
insincere
or
disingenuous