He outlasted it, so he can claim credit.
His policies have been chaotic. Things go worse under his Administration and vaccine mandates remain.
While Biden is quick to claim that he ended the pandemic, he depended on the vaccines initiated and developed under Trump. And his first year was characterized by frequent confusion and reversals. In the end, the result of his first year were worse than Trump’s.