Isn’t there something about sinning in the heart and not just the act itself?
Coveting for example - you don’t actually do anything...you just wish for other people’s stuff/situation.
I originally said a feeling is “not necessarily” a sin because we are not always in control of what thoughts or feelings we have. If a thought occurs and you dismiss it, that’s different from the thought’s occurring and your wallowing in it.