I wanted to ask is it okay if I would never want to get married again and raise my child on my own as a single mother.
I am so upset with all this that I don’t want to try again with anybody.
And will Allah and our Imams will be upset with me if I seperate

First of all you have to take decision for your current situation and be settled down then you decide for you long future. But now it’s important for you to solve the current situation.