Every time you solve a problem you become a better version of yourself.
Once you deal with a problem, be prepared for the next one that will appear.
Think about it as something positive. Thanks to it your life is interesting, you are motivated to move on, you develop yourself. If you can overcome a small obstacle, you are ready for bigger challenges.