The line of thinking “If I Can't Have It, Neither Can You” is called ‘Crab Mentality’ because when a crab in a bucket is trying to escape, the others will pull it down.