Dweck calls this a static mindset. Either we are smart, or we are not. Either we are good at something, or not. And in order to protect the identify of being smart, or of being good at something, we avoid challenges that can result in failure, whether real or perceived.