If he doesn’t care about you then I don’t think so he is worth it and your life is much more than this relationship. So please don’t think that this is the end of the world. Focus on yourself and tc
One sided love hurts a lot but it's completely okay. We don't know the reason why he doesn't love you back nor do you need to explain yourself here if you don't feel comfortable but maybe the memories of him can keep you going and that might give you the hope for not giving up. Life might have a lot of surprises for you planned you never know what happens in the near future.