Education isn’t as much about learning things as it is learning to learn and developing the brain through the reps.
Since I was a kid I have not understood why they don't teach how to learn first. Basic school would be cut in half.
I pointed out that the benefits of not taking a path can be ignored when a different path is taken when we focus on what could have been.
"This is where I ended up, so this is what I like! I wouldn't change a thing!"
(without knowing what the other path actually held)
Time spent failing in the wrong direction presents its lessons learned and wisdom we take with us that helps the rest of the way is a strong part of us.
I think it is also a bit like dealing with hardship - without knowing real hardship, small problems seem hard, and it is difficult to be grateful for just how good things are. Most people complain about their job, unless they have done some really terrible jobs in the past.