"
Basically what I need here is opinions, should I stay friends with him, or should I not? I feel as if for the sake of my happiness ending the friendship is something I need to do but I also don't want it to seem like I'm jealous and I do not want to do something that I may regret in the future."
I'm confused about the nature of this relationship: Did he consider your relationship to be a platonic friendship, or was it a dating relationship that hadn't fully evolved and was interrupted by your MH issues?
In any case, is having this as a distraction in your life a good and worthwhile thing while you are focused on getting treatment for what sounds like a serious MH issue? Are you in a good place for this; you sound vulnerable.
Best wishes to you!