Why is it illegal to have 2 wives?

I just found out it’s illegal to have 2 wives now I’m sad.
Via Google search “The practice of polygamy is contrary to the notion of gender equality that is fundamental to Canadian society.” How does it have anything to do with gender equality? Why can’t someone do what they want , it’s not hurting anyone else?

Why is it illegal to have 2 wives?
Post Opinion