If process is important that outcome, What should be the part of process? [on hold]

I’ve heard in so many athletes saying process/preparation is important than the outcome. If that is true, what would be the process to become great at software engineering or very good programmer?

I am at the juncture of my life I think my growth is stagnating, I have been working as software developer for the last 4 years, and I feel I am not improving as I had improved in my first couple of years.