Aw lil, I'm sorry! But like Olerica says, now you know what to expect. And guess what? You can take it until you pass. You don't have to quit. Let me tell you a story.
About a month ago my grandmother needed to renew her license. She's 82 now and in Texas once you're 80 or over you have to renew in person. Well I took her and she had her picture taken, her fingerprints were documented, she had even signed already. But then we get to the eye test and she couldn't see a thing! The clerk was very patient with her and gave her many tries but she could not see at all. Unfortunately she had to walk out of the office without her license. She told me that she's had a license since she was a teenager. I can only imagine how she felt. We've talked to her eye doctor and he says there's not much else he can do to fix her eyes. She has cataracts and she had eye surgery a few years ago but that didn't do much.
What I'm trying to tell you is that you can pass. You just need to practice more. I know it sucks that you failed but it's fixable. Try to focus on that. At least it's not something that you cannot do. My grandma that will never be able to drive again because her eyesight is gone. Praise the Lord that she had kids and grandkids that will take her wherever she wants to go but I know she felt bad losing some sense of her independence.
So go ahead and cry but remember that you can get your license. It's just a matter of practicing