Feeling really discouraged tonight during this custody battle.

Im 7 months pregnant going through a divorce and custody battle. Im feeling really down tonight and just discouraged through this process. Im dealing with a narcissist and this is just really hard always dealing with my emotion/mental abuser. Im trying to protect the children we have already. And I feel like nothing is just going how I would have hoped after all he has done. (Substance abuse,neglect,threats) I feels as if the laws trying to convenience him and not considering anything. Any advice. Any hope. Any wisdom. Just any light??