That’s not always true. I’ve recommended 3 engineers from my previous company to apply at my current company. All of them I deeply respected for their skills and thought they were smarter than I was.
None of them got offers. One didn’t even get past the take-home. I worked with them. I KNOW they had the tech skills to do it.