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.
They were not allowed a say in the government or assembly.