Søren Kierkegaard said this quote

If anyone on the verge of action should judge himself according to the outcome, he would never begin.