You can't prove the hash function is correct, no.
But you can prove the hash function is implemented equivalently to its definition.
That's what the article is about.
Your argument is like saying that because there is no way to guarantee your physical product's design is 100% defect free, there is no point to implement quality controls in the manufacturing floor.