I teach and always tell my students that you learn more from doing something wrong than from doing it right.
You sure gave it your best effort, and now you have some tricks in your bag to use for the next one. You'll make it, and on your own terms next time.