It's okay not being able to figure out your life even if your 22, you're not as old as you think you are. Whats important is that you never lose faith in yourself work towards your goal, I have known people in my life who have failed countless times and I have seen them heartbroken, but they have kept trying and today everyone is so proud of them. So you have to take one day at a time and work towards what makes you happy. You say you haven't accomplished anything but I'm sure your family and your friends are happy that you are alive and well. You can join some NGO or do some charity work, that feels more fulfilling than any other material accomplishment or adopt a stray animal, you can help make their life better.