Then came ubiquitous advertising. And affiliate links. And paid content. Suddenly every website was a potential moneymaker. SEO became a thing, so we could drive more traffic and increase ad revenue. Back in the early 2000s, I got weekly emails from ad companies offering money to inject banners on my websites.
Free web hosting that's as easy as Geocities was is hard to find these days. But web hosting has become dirt cheap (so cheap that I shut down my hosting business, as I can't compete on price, and no one cares about service).
I wish websites could go back to being labours of love, rather than being side hustles.