Do you realize now is not the time to give up on your dream? Though you may have failed, that has no bearing on what you can do now. Each failed attempt will bring you closer to living the dream.
Understand that by discovering what does not work, you have more information to help you know what does work. How? The more you have invested in your dream, the more motivated you will be.
Beginning today, look beyond your failed attempts to achieve your dream. Why? Your efforts are never wasted, even when they lead to disappointing results. What matters is what you do right now.