Few things can tear at the heart of a person like the revelation that their spouse has had an affair. The pain, anger, confusion can be overwhelming. God wants you to know that you do not have to handle it alone. He wants to be there to support you.
1 Corinthians 10.13: No temptation has overtaken you but such as is common to man; and God is faithful, who will not allow you to be tempted beyond what you are able, but with the temptation will provide the way of escape also, so that you will be able to endure it.