The X-Men have found themselves in some titanic tussles over the years. The X-Men are the best of the best, but they also face foes more powerful than them on a pretty regular basis. This has led to X-Men dying in the field on multiple occasions. That's also led to a lot of resurrections. Superheroes die and resurrect all the time, but the X-Men have taken it to the next level, especially in the Krakoa Era.
Source:https://www.cbr.com/xmen-most-deaths-resurrections/