I feel doomed with school

I’m in college and it’s my 3rd year and it’s been so hard for me, I suffer from depression and that has made it very difficult but I also this year had some bad family stuff go down and it’s making it very hard to focus or have motivation, I’ve always had almost no motivation with school, the thing is I’ll do the work (that I can) and I’ll see I have a bad grade overall and just think to my self why bother I’m doomed