This is great advice.
Anecdotally, I've been having pretty bad anxiety this year from work that I feel should be easy but turns out to have many unexpected wrinkles. In retrospect, it seems like there may have been a lot of "justs" when discussing early solutions.
I've started to take a step back when approaching problems to better understand potential obstacles, but this was still a pretty big toll on my confidence.