In the Roman Catholic Church there are no women deacons, now. In our past, not only were there women deacons, but women priests and bishops. This was early on in our history. Many men were fighting in wars, I guess, faithful to emperors, or running farms and estates. Women, with far less status were easier to convert and get the attention of. As the Church grew, especially when the Church received prominence as the faith of the Roman Empire, it received the attention of men. Through the leadership of the Holy Spirit it has been decided that such roles as deacon, priest, bishop, echo those of the apostles. I guess from a social point of view it was beneficial to point out to men that women, who were valued a little more than chattel, were not allowed in these roles.
But there is hope. Our faith is always evolving before us. One day, the Holy Spirit may lead us to see that women can fulfill such roles as did Mary of Magdala. It may take an even greater shortage of priests in the Church than what we suffer with now.
THrough great misery God brings about great good.