Depression/anxiety during pregnancy mean depression post partum too?

If you have depression and anxiety during your pregnancy, are you more likely to have depression and anxiety postpartum?? I’m on my third kid. My situation was not great with my first but I had no depression or anxiety. My second pregnancy was great- no depression or anxiety... however I got postpartum anxiety that never went away. Now I’m pregnant with number 3 and feeling depressed and having anxiety. I’m worried it won’t get better after I have the baby. I just want to feel better. Do any of you have experiences with unhappy pregnancies but no problems once baby is born??