Gently, you are married, doing things that you probably should not be, and trying to justify those actions. Does that sound familiar?
I get where you are coming from. I have been there too. The attention is nice, but I do not encourage it or reciprocate it. I will not cheat on my wife. She will remain in that position until we divorce.
Hang in there.