This question already has an answer here:
My kid asked:
I understand that Adam and Eve violated God's command by eating from the tree of knowledge and thus deserved punishment: as described in Genesis, Adam would have to work for his food and Eve would have a long and difficult birthing process.
But we didn't eat from the tree! We shouldn't be punished! Why do we get those punishments?