People cheat because they cannot be honest with others, let alone themselves. And if you cannot truly be honest with yourself there is definitely no way that you can truly love yourself. And if you cannot love yourself, you cannot love anyone else. And people who cheat just do not have enough self-love to own their truths.
If you truly realized and knew your worth, this fox would have not been able to get into the hen house. You were so consumed by your need for validation and love that you chose to put the needs of someone else, i.e. sex, above your own needs. And honestly, you played yourself and allowed yourself to be played!