I was thinking of running in a local election (decided not to) where I didn't stand a chance of winning. My County leader told me that I should do it anyway, if I want to, because the more experience running the better chance you have of winning in the future. A friend of mine has been trying to win a local election for at least 6 years. This year, he finally won the election.
It doesn't work for everyone, and there are some who win first time, but it is encouraged to keep trying and trying.