According to the KJV (the one I grew up with), the quote by YHWH
was:
"And the LORD God commanded the man, saying, Of every tree of the garden thou mayest freely eat: 17But 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"
The implication of the bolded part being that death was an
immediate consequence of eating the fruit of the Tree of the Knowledge of Good and Evil, not an
eventual consequence of that action. The snake's
statement
"And the serpent said unto the woman, Ye shall not surely die: 5For God doth know that in the day ye eat thereof, then your eyes shall be opened, and ye shall be as gods, knowing good and evil."
Is entirely true, by
admission of YHWH:
"22And the LORD God said, Behold,
the man is become as one of us, to know good and evil: and now, lest he put forth his hand, and take also of the tree of life, and eat, and live for ever:"
The snake was NOT acting deceitfully, it/He may have had an ulterior motive, but His statements were entirely truthful. YHWH's initial threat of "for in the day that thou eatest thereofthou shalt surely die" was the only falsehood uttered in these statements.