phrase → credit If something is to someone's credit, they deserve praise for it.
⇒ She had managed to pull herself together and, to her credit, continued to look upon
life as a positive experience.
⇒ Although the offences were horrific it was to her credit that she had owned up.
COBUILD Advanced English Dictionary. Copyright © HarperCollins Publishers