First of all, you should congratulate yourself for wanting to be a healthy and supportive friend. In order to maintain a thriving friendship, practice gratitude that you have such a smart person in your life. Since you think so highly of them, you should be proud you're in their life. Also think about how your friend can help you out with your academic goals. Finally, focus on improving your own academic performance and doing the best you can at school.