The original formulation of the statement of “work hard and you’ll make it” was created in the context of 17th-19th c. Europe, where no matter how hard you worked, if you weren’t landed gentry, you simply could not make it. The idea was that any opportunity existed. The universalist position you described is a rosy reimagining of a history that never was.