Gittin (90a): It was taught: Rabbi Meir used to say, Just as there are different views regarding food so there are regarding treatment of their wives. For example there are men that if a fly fell into their cup there would remove the fly but not drink from it. This was the attitude of Papus ben Yehudah who used to lock his wife in the house before leaving it. There are other men that if a fly fell into their cup they would remove the fly and then drink from the cup. This is the normal attitude of most men who do not mind if their wife talks with her brothers and relatives. However there are men that if a fly fell in their soup would squash it and eat it. This is the conduct of an evil man [who is not bothered] when he sees his wife go out with her hair unfastened and weave cloth in public with her with her armpits uncovered and bathe with men. Does she literally bathe with men? [No!] Rather it means that she bathes in the same place as the men. If she acts in this manner then it is a mitzva from the Torah to divorce her as Devarim (24:1) says, And he found something disgusting about her (ervas davar) and he divorces her and sends her from his house and she marries another man.
Rashi (Gittin 90a): Just as there are different attitudes towards food - people have different attitudes in their sensitivity to food and drink. There are people who are delicate and are disgusted with their food because of some very minor issue and there are others who are not so delicate. There are also those who aren’t bothered by any disgusting thing that happens to their food. In a similar manner we find differences of attitudes towards the lack of modesty in one’s wife.. There are those who do not tolerate the slightest degree of immodesty (pritzus) and there are those who are not so strict while others are not concerned with her immodesty at all. Papus ben Yehuda, the husband of Miriam Magdela, when he left his house he would lock her in the house so that she would not speak to any man. This attitude is not acceptable as we see that it caused hatred between them and she ended up committing adultery.