OP could have been me at 23, a decade and a half later I am a successful academic PI, a father, and generally a happy person. Stoic philosophy especially helped me turn hardship into strength. My recommendation would be the Gregory Hays translation of Meditations. Also, the poem If by Kipling: https://www.poetryfoundation.org/poems/46473/if---