IMHO, it's worth keeping in mind that this about more than the stress of the pandemic. The increasing costs of student loans (and the cost of servicing them after graduation) may also make teaching positions less attractive and, perhaps, unsustainable.
Here is a random article from before the pandemic.
+ 2018: https://www.theguardian.com/us-news/2018/sep/06/teacher-shor...
And one that is more recent.
+ 2022: https://www.cnn.com/2022/02/05/us/teacher-prep-student-short...