Genesis 3:5 NIV
5 “For God knows that when you eat from it your eyes will be opened, and you will be like God, knowing good and evil.”
Down a few verses it seems actually God confirms what the serpent had told the woman
Genesis 3:22 NIV
22 And the Lord God said, “The man has now become like one of us, knowing good and evil. He must not be allowed to reach out his hand and take also from the tree of life and eat, and live forever.”
Did the serpent actually lie by saying man will become godlike after eating the fruit?