Do good has 2 different meanings across 1 category:
Verb
be beneficial for
"This will do you good"
To act virtuously.