First of all I want to acknowledge your story and your pain. It takes a lot to come on here and admit these things bu I am sure at the same time it is quite a relief. My friend God has already forgiven you! He knew you would do this before it even crossed your mind. The question is do you forgive yourself? See God doesn't need us to repent for his satisfaction. He needs you to repent so that you come to him and realize that through all things he is what gives you strength that he is all you ever needed. Not your wife, not even your kids, nor that feeling of being desired from the female who temporarily satisfied you. Let me ask you a question friend after the affair how did you feel? How do you feel? Did that woman really satisfy that hole in your heart that makes you feel unworthy or undesired by your wife? Probably not because their just as human as you. Do you know what that means? they are just as messed up as you think you are! We all are! No matter how well we look like we have it together the nature of our species is messed up! The point of this life which means every point and moment in your life shows your relationship with God. Even though I think you said you have had a pretty good thing going with Christianity and God I think I can safely assume at some point your relationship with God was not as strong. There are two types of fleshly acts in my opinion that are more on the negative side and that is spur of the moment act and the rebellious act. You see everyone in a relationship with a God can have a spur of the moment fleshly act. This is when you were not expecting something to happen but it kind of does. For example, you use to be an alcoholic and you got to a friends house who you may not have known drinks alcohol and when you arrive you notice a lot of alcohol in the house. You may genuinely think you can handle being around the alcohol because you have not had an urge in forever but then a spur of the moment thing happens and you begin drinking. Many times this happens to people and their relationship with God is pretty strong. They genuinely did not think they would give in but they did and they repent and it is revealed how much more they really need to grow in God. Then you have the rebellious fleshly act. This is where someone consciously knows what they are doing is wrong and knows the danger of their actions might lead them to but they pursue it anyway. I mean every voice is yelling no and so is God but we consciously everyday make the decision to ignore it and do what it is that pleases us. None of these acts are harder for God to forgive but I think the second one is harder for the sinner to forgive themselves for. Also, usually the nature of the second sin causes a breakdown with God in our relationship and also reveals that we are not listening to God the way we should. The first one shows a breakdown as well but I think the spirit of rebellion lets us clearly know that our relationship with God is really almost broken. We have neglected him and in order to neglect something we really do not care for it as much as we would like to admit. Spending time with God not have prepares us for hard situations. It would of prepared you for that hard conversation you would of needed to have with your wife that you are not feeling valued and etc. My friend we have all fallen short and n one is better than you. This is the perfect time to understand the grace, patience, and Love of God even more so you can then begin to spread it and live! Good luck an God bless! Keep praying, fasting, and reading your bible! RUN TOWARDS GOD NOT AWAY FROM HIM! DO NT WORRY ABOUT THE PEOPLE WH WILL RUN AWAY FROM YOU GOD WILL NOT LEAVE YOU! Message for anything!