idiom
take the credit
aceptar elogios por algo que uno hizo
Meaning
to accept praise for something one did
Example
She was the one who solved the issue, but he tried to **take the credit**.
Ella fue quien resolvió el problema, pero él trató de **tomar el crédito**.