The entire bible is riddled with sexism.
This is not totally correct.
The Old Testament was written against a backdrop of an ancient world.
The New Testament is different.
As it still does today, divorce in the ancient world left many women in dire economic and social straits. At the time of Christ, Mosaic law allowed a husband to leave his wife, but a wife could not leave her husband. Jesus’ prohibition of divorce established Christianity as the only religion in the history of the world to call its members to strict monogamy:
By establishing one moral code obligatory on men and women alike, Christianity fostered a lasting commitment of unconditional covenantal love, protecting the family structure and putting the sexes on an equal footing.
Men and women are equal but not interchangeable
As the first letter to the Corinthians indicates, just as the human body has different members and each member a different purpose, so, too, the various parts of the body of Christ—successors to the apostles, prophets, teachers, healers, helpers, administrators—are all essential, valuable, and vital (cf. 1 Cor. 12:4–30).