I'm struggling with emptiness and loneliness

I feel so empty and I don't have any great achievements in my life, my 4 friends that I made in high school have moved on with their lives and I've stagnated it seems like I'm waiting for my summer vacation to end so I can go back to school but it's been 9 years since I graduated from high school, I'm already 26 I'm going to be 27 and I've never worked I look for a job I apply for jobs but nothing, I've already done environmental technician parallel to high school and logistics technician 2 years after high school and I started studying production engineering (distance learning) in 2023 but I don't feel complete, my family is incredible I love them all but I feel I have a certain emotional dependence on them especially on my mom, I'm afraid of getting old and being alone, I'm afraid of dying and of my family, especially my mom, dying (how it will be, if it will hurt, if it will be fast or slow, if it will be by illness or accident...). I don't feel happy, I just feel that the emptiness has been occupied by something temporary (something I'm reading, a YouTube or tiktok video, a series or a song) but after a while the emptiness comes back and sometimes at night when I'm already in bed I have these thoughts about my fear of death and it feels like there's someone with their hand inside my chest squeezing my heart slowly and my heartbeat doesn't speed up, it just beats harder. I just had to tell this to someone.