It's not that intelligence is irrelevant, it's just far less relevant than a lot of other factors. Also, people are quick to attribute someone else's success to an innate quality like intelligence rather than things like tenacity, hard work, etc., b/c then we don't need to feel lazy.