a miss is as good as a mile
If you almost got it, but you didn’t get it, you might as well have missed it completely. A near miss is just a fancy way of saying you lost.
I almost beat my brother, but I still lost the game.
I almost got the job, but I still didn’t get it.
I almost got the pizza, but I still didn’t get the pizza.
xs