You're 40. It's not too late. You have discovered it is the most important thing to you. So do it . Do it. Take the actions needed to do what you want to do. And if you choose not to take those actions, or if you find it too hard to take the needed actions within the needed timeframe, then be content with not having kids. To be brutally frank, it's likely that one day you will part with your current wife, and then yo…
> Choose a good and kind trustworthy woman who you think would be a good mother. Make sure you bring the same things to the party. You don't need a perfect relationship. There are many women out there in exactly the same boat as you. Don't spend years not finding the perfect person. Find a good person on the same wavelength, get on the job. To raise kids (in a responsible good manner), you need a long-lasting stable…
Also this is an extremely western centric mindset. iirc the literature indicates that having 2 responsible well caring adults is a much better goal. That could simply be an Uncle and Grandma. If OP has a community/network of good people then it's ok if He/Wifey are not perfect.