Astronauts are of a breed apart. They're strapped onto a literally bomb which launches them into a vacuum, and windows where there is no chance of a mission abort. They've pretty much accepted a risk of death that most would simply not tolerate. Ex-military is common for astronauts for a reason.
This is the reason I cringe every time I hear or read statements like “we went to the moon”, “we’ve split the atom”, “we developed antibiotics”, …
No, we didn’t. A few who are not like us did.
Going on a spaceship is probably safer than driving a car.
Not that it really changes the point but modern spacecraft do have an option to abort (begin returning to earth) at just about any time. There's still contingencies where that won't save you of course.