The Torah refers to her as "Miriam the Prophetess" and the Talmud names her as one of the seven major female prophets of Israel. Scripture describes her alongside of Moses and Aaron as delivering the Jews from exile in Egypt: "For I brought you up out of the land of Egypt and redeemed you from the house of slavery, and I sent before you Moses, Aaron, and Miriam". According to the Midrash, just as Moses led the men out of Egypt and taught them Torah, so too Miriam led the women and taught them Torah.