“Mendicants, these four people are found in the world.
“Cattārome, bhikkhave, puggalā santo saṁvijjamānā lokasmiṁ.
What four?
Katame cattāro?
Firstly, a person meditates spreading a heart full of love to one direction, and to the second, and to the third, and to the fourth. In the same way above, below, across, everywhere, all around, they spread a heart full of love to the whole world—abundant, expansive, limitless, free of enmity and ill will.
Idha, bhikkhave, ekacco puggalo mettāsahagatena cetasā ekaṁ disaṁ pharitvā viharati, tathā dutiyaṁ tathā tatiyaṁ tathā catutthaṁ. Iti uddhamadho tiriyaṁ sabbadhi sabbattatāya sabbāvantaṁ lokaṁ mettāsahagatena cetasā vipulena mahaggatena appamāṇena averena abyāpajjena pharitvā viharati.
They enjoy this and like it and find it satisfying.
So tadassādeti, taṁ nikāmeti, tena ca vittiṁ āpajjati.
If they abide in that, are committed to it, and meditate on it often without losing it, when they die they’re reborn in the company of the gods of Brahmā’s Host.
Tattha ṭhito tadadhimutto tabbahulavihārī aparihīno kālaṁ kurumāno brahmakāyikānaṁ devānaṁ sahabyataṁ upapajjati.
The lifespan of the gods of Brahma’s Host is one eon.
Brahmakāyikānaṁ, bhikkhave, devānaṁ kappo āyuppamāṇaṁ.
An ordinary person stays there until the lifespan of those gods is spent, then they go to hell or the animal realm or the ghost realm.
Tattha puthujjano yāvatāyukaṁ ṭhatvā yāvatakaṁ tesaṁ devānaṁ āyuppamāṇaṁ taṁ sabbaṁ khepetvā nirayampi gacchati tiracchānayonimpi gacchati pettivisayampi gacchati.
But a disciple of the Buddha stays there until the lifespan of those gods is spent, then they’re
extinguished in that very life.
Bhagavato pana sāvako tattha yāvatāyukaṁ ṭhatvā yāvatakaṁ tesaṁ devānaṁ āyuppamāṇaṁ taṁ sabbaṁ khepetvā tasmiṁyeva
bhave parinibbāyati.
This is the difference between an educated noble disciple and an uneducated ordinary person, that is,
when there is a place of rebirth.
Ayaṁ kho, bhikkhave, viseso ayaṁ adhippayāso idaṁ nānākaraṇaṁ sutavato ariyasāvakassa assutavatā puthujjanena, yadidaṁ
gatiyā upapattiyā sati.
https://suttacentral.net/an4.125/en/sujato