Menstruation was never called “dirty” in the Qur’an. That idea came from culture and other religions.

The Qur’an used a completely different word. If you’re a woman please READ this