“Doing good” is a short way of saying “doing good deeds,” “doing things that are good for others,” and “performing actions that benefit people other than oneself.”
“Doing well” means achieving a healthy equilibrium for oneself in life, reaching personal goals, and attaining a good measure of worldly happiness.