But of the tree of the knowledge of good and evil, thou shalt not eat of it: for in the day that thou eatest thereof thou shalt surely die.
― Genesis 2:17
If we interpret this sentence in a certain way, it tells us almost everything we need to know about personal morality.
We normally talk about the fruit of the tree of knowledge of good and evil. Fruit = consequences.
Good and Evil can be seen as Good and Bad ― Liking and Not Liking ― i.e. the emotions. Emotions are an automatic response and by implication, are self-interested ― what YOU like, what YOU don’t like.
Knowledge can be seen as the ego or mind.
We have the emotions ― we have the mind backing them up and justifying them ― but we don’t have the conscience ― concern for other people and long-term consequences. This statement describes the id and ego working together without a super-ego. A recipe for disaster.
After Eve ate the fruit, Adam and Eve realized their nakedness, and were ashamed. Then they got banished from Paradise.
I think it broadly fits as an allegory for morality.