Here's a sidebar about the Orthodox Jewish aspect of this. Recently I discovered some fascinating TV series on two of the TV streaming channels, produced and acted in Israel. They are in Hebrew, but have nice, clear translation captions.
One of them is called Shtisel, broadcast on Netflix. It's about a super-orthodox, Hasidic family living in Jerusalem, very well written and acted. These are the people who dress the way they did in European ghettos hundreds of years ago (men in black suits, always with hats, curls in front of their ears, etc.; women in "modest" dresses, and after they are married, always in wigs when out in public.)
The young man who is the main character is the son of a rabbi who is the principal of a religious school. The son trained as a rabbi, but wants to be an artist. He's a very good artist, from the "works" they show. Meets with opposition, of course. He's a very likable character, and I really felt sorry for him. I had to keep reminding myself that this is just a story, not a documentary!
To me, one of the most interesting parts is the interaction between men and women in this segment of society. They are not allowed to be alone together, ever, in any circumstances. Marriages are arranged by the families, but the young people do get to meet each other for dates in restaurants to see if they like each other. If there is no objection, they are married and expected to start producing children.
Another show, which I enjoyed even more, is called Srugim, broadcast on Amazon Prime. It's about the modern orthodox in Israel, who have regular careers, and dress like everyone else in the modern world. But they are bound by certain rules of sexual conduct also. All of these young people, educated and pretty "hip" in every other respect, actually remain virgins until they are married! I don't remember if they have the strict prohibition about men and women being alone together.
When I read about the politicians who announce that they will not be alone with a woman other than their wife, it reminded me of these orthodox Jews. So it isn't only "Christians" who follow this.
I'm not sure, in the case of the politicians who announce this policy, if they really mean they are never alone in any circumstances with a woman, or if they only mean no eating out, etc., in other words, social interactions. There's a big difference between taking someone out to a nightclub, and having a friendly conversation with your cleaning lady.