You can be stupid and still well adapted to your niche. Most of existence doesn't require much in the way of intelligence.