Usual reason is corrosion, or overheating. Old or wrong coolant, or a leak in the system that allows the engine to overheat.
The head gasket is not a part with a designed life like brake pads or timing belts that need to be replaced regularly.
I had a honda with 236,000 miles, the head gasket failed at 150,000 ish. and they are not too difficult or expensive to replace on the 4 cyl models. Most of the time, aside from major rust issues, it is worth repairing an economy car like a honda. any car you buy will have repairs needed eventuallly.
Who said it will?
I've never had a head gasket fail on any car I've had.
2010 Accord's expectancy?
Older honda's are rated at 90,000 miles so after that it is a risk, maybe 110,000 if your lucky.
Don't risk more than 100,000 miles, if your smart.
that is an issue not related to miles.