Crab mentality, also known as crabs in a bucket (also barrel, basket, or pot) mentality, is a way of thinking best described by the phrase "if I can't have it, neither can you". The metaphor is derived from a pattern of behavior noted in crabs when they are trapped in a bucket.