In ancient Mesopotamia, women were not considered equal to men. They had some rights but not all rights.
Women could go out of their houses and go to the market. They were allowed to own their own property and even own businesses. They could become involved in court cases. If their parents were so inclined, they could learn to read and write and even get a paid job. But they were not allowed a vote in the assembly, so they had no voice in making laws.