What you have described may be passive suicidal ideation. Basically this means that an individual would not mind if they died but they would not actively attempt to end their own life.
It may be passive suicidal ideation but I cannot say for certain because your letter is contradictory. You wrote that you wish bad things would happen to you and you purposefully put yourself in dangerous situations. You also wrote that you have no intention of ending your life and don’t want to die. It is unclear exactly how you feel.
My sense of the situation is that you are sincerely suffering. Much of your focus seems to be wishing yourself harm. This is an unnatural desire. It is psychologically unhealthy to wish yourself harm. All types of suicidal ideation or thoughts of self-harm should be taken very seriously. Individuals having such thoughts should be in treatment.
Another important element of this issue is that you perceive your thoughts of self-harm as being out of your control. What you may be describing are intrusive thoughts. Individuals with anxiety disorders such as obsessive-compulsive disorder (OCD) often describe having these types of thoughts. Intrusive thoughts are unwanted, often disturbing thoughts that are difficult to stop. Individuals who have intrusive thoughts describe them as being out of their control and frightening. Medication can be an effective treatment for decreasing or eliminating these types of thoughts.
People with schizophrenia also describe having intrusive thoughts. The voices they hear are sometimes similar to what you have described, intrusive and focused on self-harm.
I would recommend seeing both a therapist and psychiatrist. A therapist could help you examine why you are having thoughts of self-harm. He or she could also teach you strategies to stop the negative thoughts. A psychiatrist could prescribe a medicine to help eliminate or decrease your unwanted thoughts. Here’s a link to a directory where you could search for a local therapist in your community. Generally, a therapist can refer you to a psychiatrist.
I’m not certain if I answered your question because I am unclear about exactly what it is. Please do not hesitate to write back if you have more specific questions. Thank you for writing.