th rambam says לא יגרש אדם את אשתו אלא אם כן מצא בה דבר ערוה if someone devorces his wife is there any חשד about the women and the children
Answer:
No, many divorces are not based on immodest behavior, but on other factors, mainly fighting and incompatibility. The Rama E:H 119:3 writes that as long as the divorce is mutual the limitations don't apply. The Rambam and Gemara are referring to divorcing her against her will.