I see, thanks for clarifying. I did indeed suggest that OP *consider *not telling his wife about his inquiry. Automatically in my mind that includes considering,
if morally possible. I agree one ought not lie to one’s spouse.

I also don’t think one ought to play various sorts of games by concealing necessary information. I don’t share my every thought with my spouse, though. If I stupidly had an adulterous thought while out at dinner together, I wouldn’t trouble my spouse with that knowledge unless something required it. I would rather not burden the other with knowing, if possible. Nor would I tell my spouse if lately I found their laugh grating on my ears. I don’t share all my thoughts unless I think it would be helpful. I am aware that some spouses do feel that every thought ought to be shared. I, however, feel that for my marriage, charity dictates that some things not be volunteered, if possible. Sometimes even thoughts of the grating laugh must be shared, but if it can be avoided, I do.
OP’s question reminded me of something in my personal experience. Perhaps my replies are unavoidably colored by that experience. If so, I apologize.