Hi,
I'm so happy you came here for help.
My story is similar to yours. When jake08 said the problem is with you, I know that sounds confusing. But that I think, it's one of the first things to realize when recovering. It sounded absurd to me too when I first heard this, because addicts are detached from reality. But to make it simple you're using lust to escape something that you don't know how else to deal with it, so you turn to lust. Ahhh everything is so amazing when lusting. But the real world with all of our problems are still there. You probably need outside help to assist you with connecting to yourself. Hint: you're wife's pregnancy is not the problem.
It's great to have you here I wish you a successful recovery!