Exodus 33:19tuv
The Lord answered, "I will cause all my goodness to pass in front of you, and I will announce my name, the Lord, so you can hear it. I will show kindness to anyone to whom I want to show kindness, and I will show mercy to anyone to whom I want to show mercy.
God reveals his goodness to Moses alongside his name and mercy.
Ezekiel 18:20
The person who sins is the one who will die. A child will not be punished for a parent's sin, and a parent will not be punished for a child's sin. Those who do right will enjoy the results of their own goodness; evil people will suffer the results of their own evil.
People's own goodness, meaning right living, brings its own results.
Galatians 5:22agathōsunē
But the Spirit produces the fruit of love, joy, peace, patience, kindness, goodness, faithfulness,
Goodness is part of the fruit the Spirit produces.