My parents had septic for 20 years, it was just fine too.
And I’m sure there are horror stories about sewer connections. I think a few have been described on this site: remember the neighbor whose construction compromised a shared sewer line?
All things being equal, I’m going to take a house on sewer over a house on septic. Same with city water over well. gas line over propane tank. wired internet over satellite.