The average age of an astronaut is 34 [2], and most are male, so a look at an actuarial table [3] tells us that going to space is approximately as likely to kill you as literally every risk an ordinary person would take in their life up to that point (at 34 years of age, about 4.3% of men have died, and a large proportion of those deaths are due [4] to accidental injury).
[1] https://en.wikipedia.org/wiki/List_of_spaceflight-related_ac...
[2] https://en.wikipedia.org/wiki/NASA_Astronaut_Corps#Qualifica...
[3] https://www.ssa.gov/oact/STATS/table4c6.html
[4] https://www.ncbi.nlm.nih.gov/books/NBK600454/table/ch2.tab4/