I don't think anyone is saying they are irrelevant, nothing is black and white. For practical purposes however, hard work does lead to success.
Not all software work is hard work.
I don't think anyone is arguing that there aren't any other factors or that this justifies not helping less fortunate people.