From the lens of evolution, cognitive biases may be beneficial to our survival. However, as societies move on and our lifestyles transform, these “design features” are more likely to be “design flaws”. If we continue with the “traditional” wayw, we will face many problems, such as prejudice, false memory, overconfidence and so on.
Here is an amazing and visual friendly graphic which lists most of the cognitive biases. Have a look!