Probably. But mining had huge risks.
The cave collapses. The air you breathe was horribly toxic. You traded life expectancy for more money. I imagine you did a fair amount of harder labor and walked more than an Amazon warehouse.
And there is a damn canary chirping all the time.
I don't know why you're using past tense here. People are still working in mines all over the world and all of those risks you list are their every day reality.