I would just say remember your kids above else. Tell your wife to remember them as well.
Your kids are depending on you to give them the family they deserve, it doesn’t have to be perfect, but they deserve an intact family.
I’m praying for you.