Buddhist perspective

Shakyamuni Buddha never discriminated against women because he believed that bhikshunis and bhikshus were the same and could both attain arhatship. There are great bodhisattvas who are women, like Queen Shrimala, which is very clearly stated in the sutras. The Buddha has compassion and regarded all sentient beings as equal, so how could men and women not be equal?