Wait a minute...you guys are married and she was "going through your shit"?? I don't understand this. You have stuff that she isn't allowed to go through?
I get boundaries and privacy and all that, but idk about all that. How did she not know? Did you promise you weren't? Does she have a bad experience with someone from the past? Do you have a mental illness that might make it really over the top irresponsible for you to be using? Did you lie to her about something recently? Her reaction to this doesn't add up and I feel like there is more to this story since she is now not staying in the house with you.
I'm all about respecting boundaries, but you are married. You shouldn't be hiding that kind of thing. The fact that she caught your lie in a way you don't like doesn't mean it wasn't a breach of trust for you to hide it in the first place.