We latch on to the successes, it's true, but we don't learn from them, as your subsequent examples make clear. The point of the saying is not that people necessarily learn more from failure, but that the greatest lessons, if we are willing to listen, come from failure.