I disagree with the connection between failures and success that these sayings seem to proclaim.
In my eyes there are the correct solutions and the incorrect solution, one leads to success the other to failure; and there is no restriction as to why you can't just have a correct solution from the very start. The chances of this just happens to be low.