I'm not an atheist, but I'd like to try to help...you can ignore this if you want.
Everyone is unique, and I'm not sure anyone ever understands life completely. (Personally, it seems to me like whenever I think I've got a handle on it, it throws me a curveball.) But our experiences help to shape who we are. I know it's hard to see your friends with careers and love lives...I've been there. But everyone's path is different, and that's okay. What's important is that your path leads you to the place you want to be.
My advice would be to use this time to discover who you are. What are your ambitions? What do you enjoy doing? What are your dreams? Then set about pursuing that. As you get to know yourself and as you define your goals, you might find yourself gaining confidence.