The banks don't hold this debt, the federal government does. That's why the federal government can forgive it. That's why the federal government has been able to suspend payments for 2 years. The government can't forgive debt held by someone else.
Source: https://www.investopedia.com/articles/personal-finance/08121...
"The outstanding federal loan balance is $1.620 trillion and accounts for 92.7% of all student loan debt." https://educationdata.org/student-loan-debt-statistics
So yes, banks do hold some student loan debt, but most of it is held by the federal government.
If any other institution ventured to forgive such massive amounts owed, they would be forced to compensate with their budgets, but they don't have monopolies on violence.
I mean, you can look it up. Over 90% of student loan debt is now held directly by the federal government (rather than merely being guaranteed by it, as was the case in the past).