This guilt can lead to depression, which is a form of spiritual illness. Cheating is also responsible for increased anger, which can be harmful to you and your loved ones. Discuss it or not, when you cheat on your wife as a spirit-filled man, you become spiritually unproductive. Your spiritual alertness has disappeared and you become unproductive.
One of the functions of the husband that God gave him is to remain the head of his household. When you cheat on your wife, you are no longer the head, unless you repent of your sins and confess them. The spiritual path leads you to achieve inner tranquility, which tells you to let go of the drama. Instead of getting tired and letting you have negative thoughts about your partner, you can meditate, work in the garden, or do whatever brings your body, soul, and mind together.
In my case, I started learning the piano and that made my inner self shut up and opened the way to get closer to my partner. I also started singing “mantras” to silence my inner voice and thus I learned the true meaning of “this too shall pass”. Cheating can make you feel paranoid about the possibility of others cheating on you, which would later become a self-fulfilling prophecy that you'll end up with bad karma. Cheating can cause a spiritual crisis not only in the person being deceived, but also in the person who is cheating.
The bottom line about deception and karma is that when you understand what karma really is and how it can work, then yes, cheating creates bad karma. Cheating is never OK, but if you want your relationship to work, then you must be willing to forgive yourself and start a new life where cheating isn't an option. Whether you're the one who cheated or the one who cheated, your life and everything you know about it has changed.