If you criticized him for repeated use of an attack and then you repeatedly used the attack, then you were being hypocritical.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
, preaching, acting (etc;) a belief and doing the opposite?Yes, that is a form of hypocrisy: "The practice of professing beliefs, feelings, or virtues that one does not hold or possess; falseness."