That doesn’t make any sense that God would punish everyone for the mistake of two people.Of all the things that God created and made, for His pleasure, according to the Bible, death and evil are not once to be named among them.
If god didn't create death how did he provide garments for Adam?
God killed animals ( his own creation)in early genesis
God created heaven for us. If not for Adam's sin, then we'd be in heaven now. One doesn't have death in heaven do they?
Thus, you are missing some things in regards to knowledge of the Bible or you have been misled.
It makes more sense that ancient man understood that man’s pride and selfishness prevents him from being what he was intended to be. And this allegorical account was how he passed down that knowledge to future generations. Man is different from God’s other creatures because only man has knowledge of good and evil. No other animal perceives things as good and evil.