If you follow the links you can see what Metta Bhavana is connected to.
Almsgiving giving comes from compassion, but what is compassion good for? Compassion in conjunction with Metta Bhavana is a cultivation of the mindset that seeks to read the Pancakkhandha of the other person. For the Buddha said that Pancakkhanda is everything in the world. In the Pancakkhandha concept discussed in Buddhism, the five Khandhas or “heaps” are the components of the human experience. Let’s take a closer look:
Rūpa (Matter): This Khandha refers to physical matter or form. In the Kama-Rūpa-Arupa-Lōka there are indeed material things, but a being’s Rūpakkhandha consists of memories of everything it has ever perceived, including hopes and plans for the future.
Vēdanā (Sensation): This khandha includes sensations such as pleasure, displeasure or neutrality. These are purely spiritual.
Saññā (perception): This is about the perception of things. This is also a spiritual aspect.
Sankhāra (Mental Formations): This Khandha refers to mental processes such as thoughts, intentions and habits. Everything we think or plan falls into this category.
Viññāna (Consciousness): The consciousness that experiences the other Khandhas is also mental.
The Pancupādānakkhandha is a deeper consideration of these five piles. It refers to the “attached aggregates” that we grasp and hold close(tanha) to us based on our desires and attachments. The character determines(gati ). These are purely spiritual and represent only a fraction of the entire experience of Pancakkhandha. The first step towards Nibbāna is Sammā Ditthi. Unless one knows and understands the true nature of this world, one cannot attain Sammā Ditthi. Ditthi (our worldview) is a critical part of both the Pancakkhandha and the Pancupādānakkhandha. Our decisions depend crucially on Ditthi
Overall, the concept of Pancakkhandha shows that our experience of the world consists not only of physical things, but also of mental processes, sensations and perceptions. If we understand this, we can advance towards purification and understanding of life, all the way to Nibbana.
Metta Bhavana thus establishes a mindset to grasp Pancakkhandha of every sentient being. We empathize with the other person and this is only possible if we try to see ourselves as stuck in their form. It is a cultivation of a universal key to Pancakkhandha that is good for mind reading and cultivates a mindset that also helps us to reduce ourselves from some samyōjana, such as freeing us from sakkāya-diṭṭhi, or the reduction of hostility (vyāpāda, byāpādo). So when we perform Matta Bhavana with (Panna) wisdom about the Four Noble Wisdoms/Tilakkhana/PS i.e. understanding the important concepts described on the puredhamma page it leads to Nibbana. COOLING OF THE MIND.
For example, when we move from the Vijānāti stage to the Abhijānāti in our mindset, it becomes Ariya Metta Bhāvana, and that only begins at the Anagami stage of the Magga Phala. Then panna becomes: “Paññā panāvuso, kimatthiya”ti? Paññā kho, āvuso, abhiññatthā pariññatthā pahanatthā”ti.” OR “What is the purpose of wisdom?” The purpose of wisdom is a complete understanding that leads to the termination of the rebirth process (by giving up this world). The cultivation of metta bhāvanā is also associated with the stage of anāgāmi (not reborn in a womb). So it also reduces lōka samudaya. Since everything in the world is controlled by Pancakkhandha and It is rooted in six root causes (mūlika hētu). You should now see what mindset METTA is associated with, also in terms of cultivating jhanas to achieve the goal…