My husband cheated

Not physically but emotionally. When we got married divorce was not an option. If I can find it in me to stay with him and in this marriage, is that pleasing to GOD? I know God does not like divorce but I’m having a hard time figuring out if I should stay or leave. Please any inspiration, advice, insight. I’m really struggling.