

If you’re interested in further reading, the terminology for what you’re describing is:
deontology (based on the action itself)
virtue ethics (based on the intent)
consequentialism (based on the outcome)
I would argue that there’s no such thing as “good” people and “bad” people, nor even actions that are inherently good or bad themselves. Someone is, in my opinion, “good” if I feel more positively than negatively about the culmination of their actions, intents, and results.
To be clear though, my opinion on this is unpopular lol
I think you have virtue ethics and deontology backwards?
Edit: autocorrect