Am I wrong to feel this way?

I don’t know if I’m just depressed. But sometimes I wish I could take certain people’s circumstances so I can die instead of them. Like if I could switch lives with someone with cancer so they can live and I die I would because I sometimes want to die and not be alive and I just wish I could switch life’s with some so I can be the one who died. Idk it’s hard to explain..