Accept yourself. But realize ...

Accept yourself. But realize your behaviors can be bad.
 David D. Burns

Quotes from the same author

The biggest mistake you can make in trying to talk convincingly is to put your highest priority on expressing your ideas and feelings. What most people really want is to be listened to, respected, and understood. The moment people see that they are being understood, they become more motivated to understand your point of view.
 David D. Burns
When two people respect each other, the ability to be vulnerable and to reveal hurt feelings can create a powerful emotional connection that is the source of real intimacy and friendship.
 David D. Burns
Can you predict the future with absolute certainty? Your answer must be no. You have two options: You can either decide to accept yourself as an imperfect human being with limited knowledge and realize that you will at times make mistakes, or you can hate yourself for it.
 David D. Burns
Assert your right to make a few mistakes. If people can't accept your imperfections, that's their fault.
 David D. Burns
Learn to accept your limits and you'll become a happier person.
 David D. Burns