put up a (brave, good, etc.) fight
put up a (brave, good, etc.) fight {v. phr.}
To resist.
He put up a good fight but he was bound to lose in the end to the older, more experienced chess player.
Categories:
Source: A Dictionary of American Idioms