@πβοΈββ΄ππΆπβ―β―βοΈπ I went through a similar thing. I'd been sitting in my room and heard my younger brothers playing in the room over. An intrusive image of me going in there and doing something horrible to them popped into my mind, and I felt freaked out. Then, my mind began telling me that I wanted to do that, and it felt like someone was screaming, "Do it! Do it!" at me over and over again. The anxiety spiked so quickly, I felt physically numb, but it felt like I'd really do those things in that moment. I ended up getting up from my bed and going to my little brothers room (a compulsion, most likely) to check on them, and when I looked at them, I immediately knew I'd never do anything like that. But, for like a week or so after that intrusive thought, it kept flashing in my mind over and over, and it was horrible. I cried a lot, too, because I'd never want those things. That's not who I am, but I felt convinced that I'd do that or become this type of person, or that maybe I'd secretly liked these thoughts, and I was just in denial... It was overwhelming, and I had the same thought that maybe it'd be easier if I just ended things, but I didn't really want to die, I just wanted the thoughts to go away. And, I don't think I'd be able to do that to my family. So, instead, I continued practicing healthy habits. If I felt anxious, I'd journal all my thoughts and feelings out (while also including positive messages in my writing). I'd go on walks and spend time with loved ones, even if I felt horrible. I still have small doubts that find their way into my thoughts, but I don't give them the attention they want, and they fizzle out fairly quickly.
I've shared all of this with my mom and my sister in greater detail. They know who I am, and they know I'd never want to do those things. I've said it before, but the fact that you care so much shows that it isn't real. People who really enjoy these things and want them don't feel bad about it, and they don't consider ending things because of it either. Please don't think there isn't a future where you won't have these thoughts. There is... Change is the only constant in life, and this too shall pass. I'm still trudging through things, but it's gotten a lot better for me, and I really do believe it'll get to that point for you, too. If you need support, we're here for you. And if you're comfortable, be open with your mom about it. You're loved and needed.