Ok so the overwhelming thing I get from your post is actually nothing to do with your relationship and just the fact that you seem to have no one else in your life. This is really worrying. Even if you and your partner get on great and have no absolutely no problems, they should never, ever be the only person you have to rely on for emotional support. (I know, I've been there!)
Being cheated on is already an awful thing to endure, it's being made so much more difficult by the fact you have no one to talk to. I'm not saying this to rub it in - I'm saying it because I really think that it is the very first thing you need to work on. As long as you're so reliant on your boyfriend, it's going to be very, very difficult to make healthy, rational choices like this.
So what I would do is break it off with your boyfriend for a bit. You need to prove to yourself that you can live without him. Work on rebuilding your confidence, and try to make friends. Try to be proactive; go to clubs or classes, invite people out and organise events yourself. Then, once you're confident that you can live without him, you can think about maybe letting the past go, if that's what you want. I don't know anything about your relationship, I don't know if your boyfriend is a lovely person who made one mistake, or a serial cheater, but I don't think you'll know either until you see it from the outside. As long as you're thinking "if I lose him, I'll have nobody" then you're just further cementing the emotional monopoly he has on you. (and I mean, this doesn't excuse anything, but it sounds like this was affecting him too, through your depression. You definitely should be able to rely on your partner in times of mental illness, but it is very, very, very hard to be the only one supporting someone through it)