Genesis 2:17
17 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 5:5
5 And all the days that Adam lived were nine hundred and thirty years: and he died.
God says that Adam will die the day he eats from the tree, yet he eats from the tree (Genesis 3:6), and lives to be 930 years old.
Whoever is raising this as a contradiction has decided, based on nothing, that the only death that Adam can suffer is physical. That isn't what the Bible teaches at all, anywhere.
The Bible teaches that when a person sins, their spirit dies (Romans 6:23, 7:9). That's why a new birth is required (John 3:3-7). When it happens, the person is described as being raised from the dead, and passed from death unto life:
Ephesians 2:1
1 And you hath he quickened, who were dead in trespasses and sins;
John 5:24
24 Verily, verily, I say unto you, He that heareth my word, and believeth on him that sent me, hath everlasting life, and shall not come into condemnation; but is passed from death unto life.
Adam and Eve died spiritually the instant they ate the fruit. Genesis 2:17 does not refer to physical death.