If you constantly beat yourself up with negative thoughts, you will either beat up on the people around you- verbally, emotionally, or physically- or you will beat up on yourself by destroying some area of your own life.
Judge yourself; if you do that you will not be judged by God, as St. Paul says. But it must be a real sense of your own sinfulness, not an artificial humility.