AN 3.70 Sabbath §16
A corrupt mind is cleaned by exertion. And how is a corrupt mind cleaned by exertion? It’s when a noble disciple recollects the deities: ‘There are the gods of the four great kings, the gods of the thirty-three, the gods of Yama, the joyful gods, the gods who love to create, the gods who control what is created by others, the gods of the Divinity’s host, and gods even higher than these. When those deities passed away from here, they were reborn there because of their faith, ethics, learning, generosity, and wisdom. I, too, have the same kind of faith, ethics, learning, generosity, and wisdom.’ As they recollect the faith, ethics, learning, generosity, and wisdom of both themselves and those deities, their mind becomes clear, joy arises, and mental corruptions are given up. It’s just like cleansing corrupt native gold by exertion.
AN 11.11 With Mahānāma (1st) §8
Furthermore, you should recollect the deities: ‘There are the gods of the four great kings, the gods of the thirty-three, the gods of Yama, the joyful gods, the gods who love to create, the gods who control what is created by others, the gods of the Divinity’s host, and gods even higher than these. When those deities passed away from here, they were reborn there because of their faith, ethics, learning, generosity, and wisdom. I, too, have the same kind of faith, ethics, learning, generosity, and wisdom.’ When a noble disciple recollects the faith, ethics, learning, generosity, and wisdom of both themselves and the deities their mind is not full of greed, hate, and delusion. At that time their mind is quite unswerving, based on the deities. A noble disciple whose mind is unswerving finds inspiration in the meaning and the teaching, and finds joy connected with the teaching. When they’re joyful, rapture springs up. When the mind is full of rapture, the body becomes tranquil. When the body is tranquil, they feel bliss. And when they’re blissful, the mind becomes immersed in samādhi. This is called a noble disciple who lives in balance among people who are unbalanced, and lives untroubled among people who are troubled. They’ve entered the stream of the teaching and developed the recollection of the deities.”
SN 35.105 Because of Grasping §20
“No, sir.” “Seeing this, a learned noble disciple grows disillusioned with the eye, ear, nose, tongue, body, and mind. Being disillusioned, desire fades away. When desire fades away they’re freed. When they’re freed, they know they’re freed. They understand: ‘Rebirth is ended, the spiritual journey has been completed, what had to be done has been done, there is nothing further for this place.’”