(be) on your last legs
If a person is on his/her last legs, they are very tired/exhausted or about to die.
Think about yourself. You have been in the prep school for almost a year now and you have been studying very hard for the last two or three months. Therefore, you have every right to say that “I am on my last legs.” since you are a bit tired now.