So you're saying this accident called evolution somehow learned from its mistakes?
more accurate would be that it forgets its mistakes and works on its successes....
Only in the sense that its mistakes get weeded out, and thus its successes accumulate, providing a "step up" for the next cycle of trial and error.