Being harsh with yourself, doesn’t give you permission to be harsh with others. They might not be wired the same way as you. Besides, being harsh with yourself might not be working as well as you think it is.
Be tough and firm when you need to be, but don’t be too harsh. You don’t need to teach everyone a lesson anyway. Focus on the lessons you need to teach yourself.