And a judge isnt going to order your daughter to stay with the mom. You are a parent, you have equal rights to your daughter. Custody is always 50 50 unless there is abuse. Leaving your daughter is not a good idea. Its not more stable for you to leave her. Its more stable for you to be in her life and live with her.
Like Steve said, your W is acting like this because she lost respect for you. Its all about respect. My EXWW wouldnt have cheated on me with her boss who a foot shorter than her, bald and 20 years older if she respected me.
M:16 T:21 H(me) 38 WW: 38 S11 D16 D19 Red Flags of A: March 2018 ILYBNILWY: August 4, 2018 Moved out of MBR: September 24, 2018 BD/Confirmation of A: October 31, 2018 D Filed: March 27, 2019