do credit
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.
Categories:
Source: A Dictionary of American Idioms