All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad, sallallaahu 'alayhi wa sallam, is His slave and Messenger.
The question is unclear; therefore, we advise you to directly speak to one of the scholars.
In any case, if what is meant is that the wife was the one who swore an oath and made divorce conditional upon her lack of truthfulness, then the divorce does not take effect under any circumstance, because the basic ruling regarding divorce is that it (i.e., the right to issue divorce) is in the man's hand not in the wife's. For this reason, the Qur’an addresses men, not women, in matters of divorce.
We advise resolving marital problems through dialogue between spouses and avoiding the use of such expressions.
This situation seems closer to obsessive thoughts (waswasah); therefore, you should be cautious of them and not give in to them, as they can destroy a person and turn his life into unbearable misery.
Allah knows best.