Hey S, believe me, the courts have seen spouses lie and I have to think that for the most part, they could see through it.
I just came from my therapist. She said, B you are loyal and honest to a fault. But sometimes that loyalty is a detriment. Sometimes the other person is just wrong, not a good person, or a liar. I said, I know no other way to be. Not my problem about the other person. I am who I am.
So S, be your wonderful self. Show them who you really are. And if you can find it in your heart to feel sorry for your wife because she is lost, then realize where her words are coming from. She is scared and has to blame someone else or she needs to look inward. She is incapable of that right now, so you are the scapegoat.
S, speak the truth and live well. That's all you could do right now. Keeping you and yours in my thoughts and prayers.