Yes it might be a hint that you don't believe what you say, but that shouldn't detract from you saying being potentially correct. After all the truth value isn't affected by who says something. I bet there were smokers who were part of discovering that smoking is unhealthy.
The thing about pointing out hypocrisy is that you're actually lending authority to the person you criticize, you're saying that you believe in the side he's revealed to actually support.
Moreover, just because you're not capable of perfectly adhering to a set of principles doesn't mean that it's not worth trying. "Oh, I know that I'm not going to be able to uphold every single commitment I make, so I'm not going to worry about upholding any of them."