Running builds your self-esteem because you are training yourself to run. You are training your body to be flexible.
Flexible muscles make you feel better about yourself and more confident. When you run, your body gets a workout that makes it more flexible, which increases your confidence.
More than anything else, running builds your self-esteem because it reminds you of your strengths when you see other people running.