/də ˈwɛʊ̯ baɪ ˈduːɪŋ ɡʊ(d)/
to benefit while helping others
“They do well by doing good for the community.”