It is necessary to not bring yourself to this. Of course, it is difficult to study, but you can always find something that will help you. For example, I was helped by a site
https://phdessay.com/ that is an excellent resource for writing papers and essays. So this is an opportunity to stay at the university.