Let's observe the question properly.
What does it mean to be "good"? The concept is subjective, varying across individuals and cultures. Generally, it involves positive qualities, ethical behavior, and morality, encompassing kindness, honesty, empathy, and consideration for others.
"Good" takes on different meanings in various contexts; being a good human may involve kindness and empathy, while excelling in cricket requires skill and sportsmanship. Different aspects of life may demand distinct criteria for what is deemed "good."
While the definition of "good" isn't universal, "goodness" as a noun holds a universal essence. Though challenging to articulate, we can sense "goodness" across various contexts, with the quality remaining constant.
In short definition of "Good" is as such not canonical. But "Goodness" being a quality can be assumed to be universal and we have a natural ability to sense "Goodness"
If the question is how to be seen as good by everybody, the answer is to embody "goodness." However, the actions to achieve this vary subjectively and contextually.
Implicitly, the inquiry touches on the concept of ultimate good or supreme goodness.
In Indian philosophy, there is a discussion about this in Bhagvat Geeta. What is said hereafter is not a universal truth nor I proclaim it to be. It's just one of many gems of Indian Philosophy.
A excerpt of one of OSHO's discourse can be a good introduction
It is like this. We can see the sky through the window. The window looks like a frame around the sky, but the sky itself has no frame around it. It is infinite. Only the window gives it a frame. In the same way, beauty, truth and goodness are the windows through which we can glance into the divine.
Human personality is divided into three layers. If intellect is predominant, then the divine takes the shape of truth. The intellectual approach creates the window of truth, the frame of truth. If the mind is emotional, if one comes to reality not through the head but through the heart, then the divine becomes beauty. The poetic quality is given by you. It is only the frame. Intellect gives it the frame of truth; emotion gives it the frame of beauty. And if the personality is neither emotional nor intellectual if action is predominant - then - the frame becomes goodness.
So here in India we use these three terms for the divine. Bhakti yoga means the way of devotion and is for the emotional type. Godliness is seen as beauty. Gyan yoga is the way of knowledge. Godliness is seen as truth. And karma yoga is the way of action. Godliness is goodness.
The very word god comes from the word good. This word has had the greatest influence because most of humanity is predominantly active, not intellectual or emotional. This does not mean that there is no intellect or emotion, but they are not predominant factors. Very few are intellectual and very few are emotional. The majority of humanity is predominantly active. Through action the "God" becomes the good.
In the Indian tradition, there are three ways to experience the divine, and goodness is one of them.
Quoting the Bhagavad Gita, it emphasizes detachment from results and the performance of duty for its own sake. Goodness is portrayed as a way of action, requiring a connection with "Godliness." The term "God" originates from "Good," paralleling "Devil" with "evil." Attaining "Godliness" leads to inherent "Goodness,".
Your work is your responsibility,
not its result.
Never let the fruits of your actions
be your motive.
Nor give in to inaction.
Set firmly in yourself, do your work,
not attached to anything.
Remain evenminded in success,
and in failure.
Evenmindedness is true yoga.
—Bhagavad Gita, 2.47-49
"tasmad asaktah satatam karyam karma samacara asakto hy acaran karma param apnoti purushah"
Therefore, without being attached to the results of activities, one should act as a matter of duty, for by working without attachment one attains the Supreme.
The connection between Karma Yoga and goodness lies in the emphasis on selfless action, detachment from personal desires, and the pursuit of virtuous conduct. Here's how Karma Yoga is linked to goodness:
Selfless Service: In Karma Yoga, individuals engage in selfless service and actions without expecting personal gain. The focus is on contributing to the well-being of others and the world at large. This selflessness is inherently aligned with the principles of goodness, which involve kindness, compassion, and a genuine concern for others.
Detachment from Results: Practitioners of Karma Yoga perform their duties without being attached to the outcomes. This detachment from results helps cultivate a mindset focused on the intrinsic goodness of the action itself, rather than being driven by personal desires or ambitions.
Alignment with Virtues: Goodness is often associated with virtuous qualities such as honesty, integrity, compassion, and generosity. In Karma Yoga, individuals strive to embody these virtues in their actions. By acting in accordance with moral principles and ethical values, practitioners contribute to the cultivation of goodness.
Fulfilling Duties and Dharma: Karma Yoga emphasizes the importance of fulfilling one's duties and adhering to dharma (righteousness). Acting in accordance with one's responsibilities and moral obligations contributes to a harmonious and morally grounded society, reflecting the essence of goodness.
Mindful and Conscious Action: Karma Yoga encourages mindful and conscious action. By being fully present in the moment and approaching actions with awareness, individuals can make choices that are in line with goodness. Mindfulness allows for a more intentional and positive impact on oneself and others.
Unity with the Divine: The ultimate goal of Karma Yoga is spiritual growth and unity with the divine. This connection with the divine implies aligning one's actions with a higher, transcendent purpose, which is often associated with the concept of goodness in various philosophical and religious traditions.
In summary, the practice of Karma Yoga involves performing selfless, virtuous actions with a sense of duty and detachment. This alignment with selflessness, virtues, and a higher purpose establishes a profound connection between Karma Yoga and the pursuit of goodness.