The idea is that if you focus on the work, all of that would/should follow...
I have read a few anecdotes from scholars basically confirming this: they were doing "everything right" and getting nowhere but the moment they decided to just do the work that makes them happy, all the titles and positions followed.
I believe Patricia Ryan Madson is one such story although not in a scientific branch. IIRC, she could not get permanent positions in any university even though she had a "perfect resume" but then decided to follow her passion and her career just took off.
I know this is idealistic, but I still wish this were how the world works