Husband has been hiring dominatrices and going to massage parlors for years

Just found out after discovering some text messages on his phone that he has been paying with our money to hire various dominatrices for several years. In addition, he admitted to going to “those kind of massage parlors” a few times during our marriage and participating in live webcam porn. I knew nothing about this. My world is shattered and we’ve been together 20 years. He’s begging for forgiveness now that he’s been caught. I’m torn bc we have children about staying or leaving. But I fear he will do this again. Any advice or anyone have experience with this?