If you wanted to write a computer program to simulate intelligence, you could start with two simple commands.
Get food: Yes. Be food: No.
Intelligence is all about enhancing your ability to survive, and getting food while avoiding being eaten are essential ingredients in any survival recipe. Evolution built brains to get food to the gut and keep bad things away. As Caltech neurobiologist John Allman once expressed it, “the brain is the gut’s way of protecting itself — and making sure it gets good stuff into it.”