a miss is as good as a mile

Proverb

 * 1) A failure remains a failure, regardless of how close to success one has actually come.