The idea that introverts are more good-hearted than extroverts is a generalization and not universally true.
Introversion and extroversion are personality traits that refer to how individuals tend to respond to and engage with their social environment. They do not determine someone's moral character, kindness, or goodness.
Kindness and good-heartedness are qualities that can be found in both introverts and extroverts, as well as individuals who fall in between as ambiverts. People of all personality types can be caring, empathetic, and compassionate.
It's important to avoid making sweeping generalizations about a group of people based on their personality traits. Each person is unique, and their behavior and actions are influenced by a combination of factors, including personality, upbringing, values, and life experiences.
Ultimately, someone's goodness and character are shaped by their choices, actions, and the way they treat others, rather than their introverted or extroverted tendencies.