Maybe find joy in the fact that without your temporary contribution, the next step would never have started ?
I mean it's like a lot of jobs: a taxi drivers cant really pinpoint his accomplishments, a nurse will see all person they ever cure die one day, things like that.
Contrary to what someone said above, software is not a machine, it's the state reconfiguration of a machine, one of its many inputs. As a programmer all you did was align the knobs to make some inputs produce some outputs, but upstream and downstream changes will change input shape and output requirement, or the machine will change its constraints or the programmers will have figured no way to state change it.
Your contribution was important, but thanl god we dont use the state configuration you wrote 20 years ago to solve today's problems.