It might, depending on your mental state.
When we have an adverse reaction to aspects of our own mind, that can have several possible deleterious effects.
One possibility is we push the sin into our subconsciousness. In that situation, the sin is still present in us, but we become unaware of the way in which it is operating. This can be very dangerous, because the subconscious mind continues in the sin, and in that process the sin can grow and change, and never in a positive way.
Another possibility is that, due to our desire to believe that we are holy, and the fact that the existence of the sin conflicts with that (false) sense of self, the sin can morph into something that we do not recognize as sin, but is nevertheless continuing to feed that same temptation, but in a more subtle way.
As a simple example of that, consider a person who is angry with someone. The person may recognize that their anger is wrong, and expressing it in an outburst would be harmful. So perhaps they instead choose to act in a passive aggressive manner, or they cut off communication, or they engage in harmful fantasies. All of these things are still negative expressions of that original anger, but a person may not recognize them as such.
We may believe that we have adequately avoided the sin because we do not allow it to express in the physical world, but in reality we have simply transferred the activity of that sin into the mental plane, and we still carry that poison in our heart.
The Lord tells us:
You have heard that it was said to your ancestors, ‘You shall not kill; and whoever kills will be liable to judgment.’ But I say to you, whoever is angry with his brother will be liable to judgment, and whoever says to his brother, ‘Raqa,’ will be answerable to the Sanhedrin, and whoever says, ‘You fool,’ will be liable to fiery Gehenna. – Matthew 5:21-22
So the Lord exhorts us to remove not only the physical manifestations of sin, but also any trace of those sins in our heart. And if we engage in mental habits that prevent us from recognizing those sins as they exist inside of us, that can lead to problems.