Technically speaking he already was defeated by the first target, due to carelessness. Of course in the end he could turn the tables, otherwise the series would have been over before it really started. So, he won due to plot convenience. I kind of doubt the grandpa had that in mind.