The means is for the sake of the purpose. So, if it is used for a bad purpose, the result will be trouble. Living for the sake of the greater rather than the smaller is goodness. God is like that, therefore, God is good. Truth and righteousness make a good person.
Good things like to be with a good person.
Man responds to either good or evil through the conscience, so he is a spiritual being. Goodness means the behavior and result that accomplish the purpose of creation. If there is any shade, Satan infiltrates there. Everything can be divided into two, goodness and evil. We should make these two into one goodness.