What is the word for someone calling something bad, but then that person does the same thing? [duplicate]
This is called
hypocrisy behavior that contradicts what one claims to believe or feel (Merriam-Webster).
It is not the same thing as lying, which is false statement of belief. It is a very particular form of inconsistency, where one proclaims (usually) certain acts to be virtuus, and then acting the opposite way.