For example, you want to inculcate a new habit to improve your effectiveness, and you form a resolution to surf the social media contents only when you are in leisure, not during busy hours. When you are determined by this resolution and make it happen, your self-esteem goes up as your subconscious mind reinforce that you are capable of making anything happen with your persistence.
In case, if you are not able to follow your own resolution and break the habit formation, your subconscious mind reinforce that you are weak in following up on your own resolution. When this kind of instances happen frequently, you mind convince that you are either strong or weak in following your own commitments and your self-esteem grows or pulls down.
That is, our self-esteem grows or falls on our own thought process and action. This is applicable both in a personal and professional environment too as a leader. Just be aware of your thought and action alignment, raise your standard continuously and stick on it.