OMG, I have been watching all sorts of Buddha anime, basically all animes, not just Buddha ones.
'Enlightenment of Buddha / The Laws of the Sun'
The quotes you mentioned and many more are in different Buddha animes. I am aware that you watch anime, so if you ever feel nostalgic, you should deep dive back into this category.
In the same way you can be lost in a forest and think "This forest will kill me" which accomplishes absolutely nothing. Or you can think "This forest presents an obstacle, how do I use it to my advantage or at least not let it defeat me". Only one of those viewpoints is useful.
This reminded me of something funny I want to laugh at. People ask me what will happen if Binance is banned in Pakistan, and I tell them my P2P business will shine!
It is very positive of me to think that if Binance is gone, it is an opportunity and not a loss. I do not want it to happen, but I also do not fear such things.