That is not hypocrisy. It is, at most, inconsistency. See as follows from Samuel Johnson, an 18th century English writer, poet, and essayist:
"Nothing is more unjust, however common, than to charge with hypocrisy him that expresses zeal for those virtues which he neglects to practice; since...