Praise be to Allah.Praise be to Allah
We ask Allah to grant you healing and well-being.
The divorce that you mention does not count as such.
Al-Shaykh Ibn ‘Uthaymeen (may Allah have mercy on him) said: If a person is affected by waswasah, his divorce does not count as such even if he utters it out loud, if he did not intend to say it, because this phrase may be uttered by one who is affected by waswasah without him intending or wanting to say it; indeed it may be forced upon him because of the strength of the waswasah and his weakness to resist. The Prophet (blessings and peace of Allaah be upon him) said: “There is no divorce in the case of compulsion.” The divorce does not count as such, because he did not really intend it with complete peace of mind. This is something that is being forced upon him without any intention or choice on his part, so it does not count as a divorce. End quote from Fatawa Islamiyyah, 3/277.
Shaykh al-Islam [Ibn Taymiyah] (may Allah have mercy on him) said in Dar al-Ta’arud (3/318): This waswasah may be dispelled by seeking refuge with Allah and by ignoring it. So if the waswasah says: You did not wash your face, he should say: Yes I did wash my face. If it occurs to him that he did not form the intention or say takbeer, he should say in his heart: Yes I did form the intention and say takbeer. He should remain steadfast in following the truth and ward off any waswasah that is contrary to it. When the shaytan sees his strength and steadfastness in following the truth, he will go away from him, otherwise if he sees that he is receptive to doubts and specious arguments and that he responds to waswasah and passing thoughts, he will bring against him more than he can resist and his heart will become receptive to what the devils among mankind and the jinn put in his mind of ideas and the waswas will move from one thing to another until the Shaytan leads him to doom. End quote.
So ignore the waswasah and do not pay any attention to it, and it will disappear from you, by Allah’s leave.
And Allah knows best.