Giving advice and practicing it are two different things... you're not an hypocrite, it just means you have problems following what you know it's the right thing to do.
The important thing is trying. Everybody is going to have their moments of weakness

You don't have to feel bad for it. You're just human.
I'm sorry you're feeling this bad.