[do credit] or [do credit to] also ({informal}) [do proud] To add to or improve the reputation, good name, honor, or esteem of; show (you) deserve praise.
Your neat appearance does you credit.
Mary's painting would do credit to a real artist.