The
Seven Stages of Purification!
Following the Noble 8-fold Way the mind is purified in 7 stages:
1: Purification of
Morality (sīla-visuddhii).
2: Purification of Mind (citta-visuddhi).
3: Purification of View (ditthi-visuddhi).
4: Purification by Overcoming Doubt (kankhā-vitarana-visuddhi).
5: Purification by knowledge & vision of what is
Path
and Not-Path.
6: Purification by knowledge and vision of Progress on the
Path.
7: Purification of Knowledge and Vision (nānadassana-visuddhi).

The classic text is MN 24
Ratha-vinita Sutta:
The Relay Chariots:
https://www.accesstoinsight.org/tipitaka/mn/mn.024.than.html
And for a complete account of Full Mental Purification:
The Path of
Purification: Visuddhimagga." by the great explainer
Buddhaghosa in 5th century AC well translated by Bhikkhu
ñānamoli.
https://www.pariyatti.org/Bookstore/productdetails.cfm?sku=771100
Free as PDF
file here:
https://what-buddha-said.net/library/pdfs/PathofPurification2011.pdf

More on these 7 stages of mental purity:
https://What-Buddha-Said.net/drops/II/The_purpose_of_purification.htm
https://What-Buddha-Said.net/drops/Levels_of_Leaving_Behind.htm
https://What-Buddha-Said.net/drops/II/The_7_Purifications.htm
https://What-Buddha-Said.net/drops/9_Stillings.htm
https://www.pariyatti.com/book.cgi?prod_id=404506