In Islam Although Divorce is allowed, but the divorce policy is tricky and a woman should write a condition at the time of marriage contract that she would be the husband's agent to divorce herself, in case she feels in trouble in future with her marriage. However this option did not exist in previous religions before Islam. Read the following link:
Secrets of Royal Family Also to protect the life of the children to have their family home unbroken after the parents divorce, Islam decreased the number of permanent wives men used to get to 4 only. Also to stop men to divorce their wives, temporary marriage was issued to restrict women of becoming mistress of married men. In prophet Muhammad's tradition Allah's punishment for adultry or fornication is the sinner might be removed from this world by sudden events. A woman might commit adultry due to thinking her husband betraying her. However the husband has the right to marry another woman. So the wife who commits adultry can be punished by Allah for not submitting to the polygamy rule. The punishment by Allah can be sudden car crash and death of the sinning woman. However the man who did not marry to the second woman also is a sinner. Therefore repenting and marrying the second woman can make Allah to forgive him. Having the flexibility of the following options in Islam has advantaged Islamic countries with less rate of divorce and less illegitimate relationships. Some Muslim kings have left up to 110 children by having polygamial relationships with many wives, permanent of temporarily. In some countries who are monarshy his gives more option to the royals to govern the country with more talented desendants.