idiom
get the credit
Meaning
to receive praise or recognition for something
Example
The whole team worked hard, but only he **got the credit**.