However, this mentality is not very healthy, it will make you lose confidence in yourself and bring trouble to the people around you. So I suggest you try to change your mentality and learn to feel and affirm yourself.
You can try the following methods to change your mentality:
Find what you like and improve your mood and self-esteem by doing what you like.
Learn to control yourself, don't hide your emotions in your heart, dare to express them and learn to adjust your emotions.
Communicate with people around you more, and improve self-worth and self-esteem through communication.
Another useful method is to use self-motivation to set goals and strive to achieve them. For example, you can start setting some small goals, accomplish one goal every day, and strive to achieve these goals. When you finish a goal, you can give yourself some small rewards, such as buying things you like, or posting your photos on the wall to motivate yourself.
Besides, you can also try to find some new hobbies and try to realize your hobbies.