I think black and white thinking means that if you failed in something, like in a driving test, then you would label yourself as a failure, while in fact you failed in one thing. If you looked harder, probably you would find other aspects you are successful in. By the way, I just realized I use this way of thinking