Genesis 2:17
16 Then the Lord God commanded the man, “You may freely eat fruit from every tree of the orchard, 17 but you must not eat from the tree of the knowledge of good and evil, for when you eat from it you will surely die.” 18 The Lord God said, “It is not good for the man to be alone. I will make a companion for him who corresponds to him.”
1 Kings 2:37
36 Next the king summoned Shimei and told him, “Build yourself a house in Jerusalem and live there, but you may not leave there to go anywhere. 37 If you ever do leave and cross the Kidron Valley, know for sure that you will certainly die. You will be responsible for your own death.” 38 Shimei said to the king, “My master the king’s proposal is acceptable. Your servant will do as you say.” So Shimei lived in Jerusalem for a long time.
Notes and References
"... The account of Solomon’s treatment of the rebellious Shimei at the end of the work seems to be an anticlimax, a strangely minor point on which to conclude a story of major events. But this piece, as well, connects to the opening scene of the work. The work begins with the pairing of the tree of life and the tree of knowledge of good and bad. To have one is to lose the other. The work ends with a short account of Shimei’s fate, but the words “knowledge,” “good,” “bad,” and “death” fill it, occurring fifteen times. And the formulation of the deity’s command to the first human reappears here in the formulation of King Solomon’s command to Shimei. God says: “In the day you eat from it: you’ll die!” (Genesis 2:17; repeated in 3:3) Solomon says: “In the day you go out ... you’ll die.” (1 Kings 2:37; repeated in 2:42) And this formulation (“In the day you do X ... you’ll die.”) occurs nowhere else in the Bible ..."
Friedman, Richard Elliott The Hidden Book in the Bible (p. 276) Harper San Francisco, 1998