The only way a dream about suicide can come true is by your own hand. If you have even the slightest suspicion you might be able or willing to make that happen you need to call a hotline and talk to someone about that. Also, if you have any form of mental illness you need to look into finding a way to pay for counseling, medication, etc. that will treat it.
A connection with God is absolutely vital. You totally need to quit telling yourself (and others) that He hates you. One of the capabilities of the human mind is that if we tell ourselves something or hear something enough times, we will believe it. Even if it's 100% not true. Stop that!
But from reading your posts in this thread, I suspect that you are having issues both spiritually and (potentially) mentally / psychologically. The two are not one and the same, and illness in this aspect of our physical life can definitely leave us spiritually vulnerable. We would not tell someone with cancer to just pray for it to leave. We would advise them to get treatment. You and you alone (with regard to those here) know for sure whether what I am saying is true. If I have misread you, my most humble apologies, but I believe in better safe than sorry.
I can think of several different theories on how the dream got there or what it might mean, but all of that pales in comparison to the fact that you are afraid of its reality, as it is (if taken literally) a vision of you ending your own existence. That's something someone at least thinks they are doing consciously; regardless of whether there are psychological issues or spiritual warfare issues happening beneath the surface. Your fear tells me you may believe you are capable of this and that must be addressed before anything else can really be looked at. You can't fix and strengthen your relationship with God if you are no longer here.