Jealousy of a male friend that is innocent and way before his time IS nasty. He has NO business sulking. Not when he is investing so little in you.
I see red flags a flying from here, don't be so quick to say that this man is safe, I don't see him as safe at all.
I see that you are a woman that has been abused, but has not had the time to right the wrongs done to you, that has not fully seen how and why you were vulnerable to this kind of guy. You may be aware of the signs. but have you broken the pattern of self doubt, self sabotage, auto criticism? looking here, NO, you have not.
If you don't put the work in now, you will fall straight into the same situation as the one you are trying to leave. You NEED to be single, properly single, grieve your relationship/marriage, and put the strong framework, the heavy lifting work back into your life to build a solid foundation for your future.
There is a learning curve, and one that absolutely can not be short cut.
You have traded in one Category 8 abuser for a category 4 (so far) The ONLY acceptable level of abuse is ZERO.
End it.