If you learned to think through your dive conditions & plan beforehand, to anticipate reasonably foreseeable problems and the more common problems that may arise (e.g.: stuck inflator, 2nd stage falls off, free-flow, etc...) and respond with 'stop, look, think, act' rather than 'freak out and bolt,' then in my book, you succeeded at the most important part of the course. Unless you want to become a de facto scuba lifeguard.
Now, I'm thinking it's time to do remedial work building your knowledge and skill base to the point where you can pass.
A scuba cert. course is not like a high school test where you get a grade, and that's it. It's more like a mountain out behind your backyard that you have not climbed...yet. Will 'yet' be 'never'? Up to you.
Best wishes from a guy who spun like a top with a weight belt and blew neutral buoyancy doing OW check out dives and had to finish up the course on referral on vacation. Over 200 dives later, I can tell you, while it's nice and affirming to succeed handily right off the bat at something, sometimes that's not an option and the thing is worth doing anyway.
Richard.