Hurting your family is good motivation for not pursueing an affair. A greater motivation should be the eternal state of your soul. What will you say when you stand before God on judgement day? God placed you in charge of your family. Have you made your home a holy home. Have you commited your life to Jesus Christ? If you read the bible you will find that God gives instructions to men as to how to lead your household. One vs says that we reap what we sew. What kind of spiritual seed have you sewed thruout your marriage? If you are looking to an affair to solve your problems rather than turning to God your soul has been deceived by the Satan. I urge you to repent. That means turning from sin and turning to God. Then commit your life to following Jesus. This will release you from the bondage of sin and you can walk in Gods peace and power. Jesus paid a ransom for the souls of men that repent. The ransom paid was His life. Jesus lived the only "perfect" life and that is why He is our Savior. He then took the punishment for sin the punishment we deserve. Jesus saves us from our sin. You need to repent and trust Jesus as your saviour. Find a bible believing church and get plugged in.
May the blessings of the Lord be upon you