Men - Confessions

I have been a slave to online porn for a number of years. After two failed marraiges and being abused during my childhood, I have resorted to finding satisfaction online. I would love to have that desire taken away. I do feel like I have ruined my chances for a normal sex life should I get married again. It has affected my ability to get an erection with a "live" woman, my wives. This I feel may have contributed to the failed marraiges and I have felt guilty over that as both marraiges ended with my spouse cheating on me with other men. Please pray for me as I continue to battle this.