Give yourself a break. You've been living with untreated BP your going to have made some poor judgments - it's the nature of the illness. The relationship break up is, as previously said, her problem not yours. Try to be kind to yourself. You are human, you are allowed to be not perfect.
Write in a journal and talk it out with yourself. Go to therapy and discuss your fears with your T. Post things here and get it off your chest. Don't let it get bottled up inside.

hope you feel better soon