She got what she wanted....the father is out of the daughter’s life.
I went through similar (but not quite as serious) issues with my ex-wife before and after I remarried. Her nonsense almost caused me to walk away. But I stuck it out and her ridiculous behavior played a role in my winning full custody when my son was 8.
God bless you for sticking it out for your kid’s sake.
They will need you...and at some point as they grow older, at least some of them will figure it out and you will be a blessing in their life.