The concept of the crab mentality illustrates how individuals' behaviour can be influenced by their environment, particularly by the people around them. Originating from the observation of crabs in a bucket, where each crab tries to climb out but is pulled down by others, this metaphor reflects a mindset of envy, competition, and resentment.