Stressful pregnancy and the outcome

Has anyone suffered badly during their pregnancy yet had their baby turn out okay? Ive had constant stress, depression, i have BPD, and I've sobbed and cried a lot during the pregnancy. I sleep badly, eat like crap and Im worried my baby will turn out like me and she will hate me! Im scared she will be a fussy, sad baby. I think i have pre natal depression. I told my bf i cant have the baby he can take her cos I've ruined and tainted her. Ive fucked her life up and shes not even born. Its too late is how i feel. Can anyone help me with anything please idk what to do