If you trust in God and Believe the story of Adam and Eve then yes work is a Punishment of sorts !
It was more of CAUSE and EFFECT.
Because we wouldn't listen, and were more interested in what we WANT than in what we NEED, the effect is that we have to toil 'against' nature.