Lots of (now) very-well known people (literally thousands) had a difficult time finding their way before their 30s. This is the oldest story in the world.
Find a source of income that will allow you time to explore new possibilities - outside of school. There's a whole world out there. There are countless ways to live that you haven't heard of yet, or had time to consider. You can't 'objectively' be a failure ... unless you fail yourself.