The glass-half-full versus glass-half-empty analogy is great because it succinctly highlights your ability to choose how you react and respond to a situation.
Put another way: at any given moment, your life is like a mad lib or a blinking cursor with empty white space waiting for you to dictate.
The difference between a problem and an opportunity,
a moment of shameful embarrassment or a moment of humility and learning,
meaning and meaninglessness,
usually has more to do with how you process the situation than anything else.
The punchline to all of this is that you can choose to — at a moment’s notice — see things in a way that is helpful for you.