idiom
take the credit
Meaning
to accept praise for something one did
Example
She was the one who solved the issue, but he tried to **take the credit**.