What do you mean won? The 40 hour work week was instituted during the Great Depression (hence why you see 1938 in the link) to try and get more people back into the labour force. The idea was that, like, if those working 60 hour weeks were forced into working 40 hours then 20 hours would open up for someone else, giving them some spending money to open up the economy again.
The 40 hour work week was originally conceived of by labor, which may be what you're thinking of, but it wasn't put in place for them. That was for businesses so that they could have more customers.