The same persistence in face of failure is celebrated in our greatest inventors and scientists. So maybe it's necessary that a part of population has such emotional reasoning, to increase exploration even when there is no clear benefit. Because sometimes the benefit comes much later than the cost of exploration, sometimes the path to discovery is a maze and you only get the prize at the end.