BTW, nobody DESERVES to be cheat on. The fact that people do it in NO WAY means you deserve it or that you CAUSED it or that you are to blame. Stop even thinking about it.
There may be things that you did to contribute to problems in your marriage. Those things are worth thinking about as knowing your part will help create a better marriage with your H..or if that doesn't happen, with a new marriage later in life. But a marriage is TWO people, no one person is at fault. It is an interaction. Both people contribute to the good and bad. What is important is to know what's you, because that's all you can do anything about.