This is a really good way to look at the world, IMHO. I am in a growth mindset, valuing effort more than results. Results count, but if they are valued so far above the effort, we get into a short term mindset.
Sometimes you have to try things, and learn from them. You can’t let a misstep, failure, (likely) partial failure, or the most likely case, an unknown result, prevent you from trying things.
The important thing, especially in your career, is to continue to move forward. Try things, learn, improve yourself. Not everything will be positive, and not everything will be better. However you can learn from those things which don’t work out well.
I’ve often thought that knowing what I didn’t like, or what I didn’t do well was more important than knowing what I like or can do.