How do you actually truly apply stoic principles in your brain?

Hi, I’m a 22 year old man and recently I’ve been going through some stuff and struggling at times to deal with it.

For some quick background basically for the last 3 years I’ve lived alone renting rooms in various homes as my family moved away from the country I was raised in and I stayed due to college commitments. I’m now in my final year getting a masters degree in engineering. Thing is I strongly dislike engineering as after 5 years of studying and working 2 different internships it turns out engineering just isn’t really for me and it’s not what I expected it to be when I picked the degree.

The past id say maybe 9-12 months especially have been difficult for me. I miss my family I struggle with feelings of loneliness and lack of purpose due to the fact I don’t have any passion for my degree. I am currently in the midst of exam week with 3 exams left and I am completely drained. Then I still have a whole semester left and thesis to finish. Many things over the past year have not turned out the way I would have wanted them to.

I was forced to leave the house I was living in which I loved, due to this I had to also sell my beloved motorbike as I no longer have access to a garage and couldn’t afford insurance without one. My current accommodation is pretty shit compared to what I used to have. My housemates in this house suck too. There was a girl for a while who I fell in love with and felt really happy about but then she broke it off with me for no particular reason other than “she felt confused” this left me feeling quite miserable and like I lacked any sort of closure since I thought things were going really well for us. Again on top of this I’m sick of college and sick of studying and working and yet I still have a long road ahead before I’m actually done + I need to actually pass all my exams.

So yea that’s kinda the situation I’m in. I try to do my best to stay on top of things, I stay fit and active I train multiple times a week and that’s definitely when I feel the happiest. I try my best to stay on top of my studies although it seriously is harder every single day. If you’ve taken the time to read this post I thank you and appreciate it and my question I guess is how I can I truly apply stoic principles in a way that I believe them.

It’s very virtuous to preach stoicism and when I read posts on here I respect the mindset people have adopted but I struggle to actually apply it myself. How can I look at the misfortunes that have happened to me and truly within myself feel okay about them? How can I look at the situation with this girl I really liked and not feel frustrated that she pulled the rug from under my feet? It’s easy to read quotes from great stoic minds but it’s much harder for my own brain to actually apply this reasoning. Any and all advice welcome.

Thank you