do well by (one)
To treat one favorably and respectfully. I need to put aside my work stress and remember that my true goal in life is to do well by you and the kids.
do by
Behave with respect to, treat, as in John was determined to do well by his children. This idiom was first recorded about 1175.
do by
v. To behave in some manner with respect to someone or something: The children have done well by their attentive parents.