You are anything but a failure. You have done unbelievably well getting through law school and securing an articling job, despite your MH troubles. You need to cut yourself some slack, friend, and just keep doing the best you can under the circumstances. I recommend, from experience, not to be too open about MH issues with your employer. I'd say your best bet is to give it everything you have for the next five weeks, and try to end on a high note. Stress from the pandemic is legitimate and will help with explaining your performance to some degree. Also, if there is literally anything you've already submitted that you can redo/improve upon and resubmit to show initiative, that could go a long way to show you care about the position. There must be something you can do to go above and beyond, even at this late stage. Just try to remember how hard you've worked to get where you are and that they chose you for good reason.