do well by doing good
To achieve social acceptance or financial success as a result of behaving in a benevolent or charitable manner.
Ev'ry evening you will find him / Around our neighborhood / It's the old dope peddler / Doing well by doing good
noun
A deed or action, especially when somebody is held responsible for it.
This is his doing. (= "He did it.")
Draining that swamp is going to take some doing!
intj
The sound made by an elastic object when struck by or striking a hard object.