I’m about to walk out

Me and my husband has been together for 3 years married 2 we have 2 kids together one is his the other isn’t his well my 3 year old told me her bio dad touched her (got it handled cops called CPS called everything) well my husband has been an asshole towards me and my my child lately just recently my daughter was freaking out and he said ( I hope her father gets custody again so she can just leave) I’m pissed I’m hurt idk what to do at this point I need advice please