An ex-smoker lectures smokers about how disgusting cigarettes are, but he actually wants to smoke. What is this?

The correct answer is "Reaction formation"