Life is a greedy algorithm. A local optimization decision is made at each stage. Overall most probably it is not optimal.
"Do the best you can, with what you have, where you are." -- Roosevelt