Define "something that mattered", because over half the stuff posted on hackernews is a complete waste of time and effort if your only real metric is profitability. The vast majority of "hacking" in general is of negative financial value.
Like decreasing quality of life for everybody through ad-tech.
This is not the case for most Olympians, because even for sports that are not attracting large amounts of visitors and viewers and therefore sponsorships, you still basically need to dedicate your life to it.
You don't need to dedicate your life to writing code unless you are working for an early-stage startup or Elon Musk. So you have spare time which you can use to write code.