Getting up at the same time every day, weekends included, even if you've gone to bed late or not at all, is an excellent way to maintain a stable mood, and avoid swings into manic states or into depression, with its accompanying anxiety. Also associated with higher GPA scores, by the way! I'll be happy to provide references, for those who are interested.
Purpose and persistence - speaking from experience and not research, I find that students who were able to overcome the many challenges during their studies were those who had a genuine 'purpose' or 'reason' for pursuing their studies which allowed them to develop a growth mindset. I find the works of Angela Duckworth on grit very insightful when it comes to promoting resilience and mental well-being.