Hammurabi — "Men were also allowed to take another wife if their first wife bore them no chil…"
Men were also allowed to take another wife if their first wife bore them no children (though the law did stipulate that he must continue to care for her).