Ruling on a woman deeming herself unlawful for her husband

Divorcing the wife three times in writing and taking her back, then divorcing her thrice again in writing