Hello!
____________________________________________________________
This is true, Thinking positively about yourself improves your self esteem by gaining confidence.
The definition of self esteem is: confidence is one's own worth or abilities; self-respect. So when you are lacking self-esteem it means you are lacking your confidence.
____________________________________________________________
Hope it helps!