What was the first lie in the Bible?

Genesis 2:17 - But as for the tree of the knowledge of good and bad, you must not eat from it, for in the day you eat from it you will certainly die.

Well they ate it, what happened?

Genesis 3:23 - With that Jehovah God expelled him from the garden of Eʹden to cultivate the ground from which he had been taken.

Jehovah lied. They did not die in that very day. Jehovah knew they would live so he kicked them out of the garden where they lived for centuries.

Now look at what Satan said to Eve:

Genesis 3:5 - For God knows that in the very day you eat from it, your eyes will be opened and you will be like God, knowing good and bad.

Satan told the truth. Once you learn to ignore arbitrary authority you can learn what’s good and bad for yourself.