What is the meaning of [Every man has his own worst enemy]

We all behave in character. The character which determines a man’s behaviour
is in a sense the man. So when a person does something, which we can see is
bad for him, he often does it because it is his character to do so. It is
therefore his character (himself) that is doing him harm and is his enemy.