God did not say that Adam would die that day.
Well, let's take a look...
Genesis 2: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.
There you are; that's exactly what God told him. You need to be accurate when you refer to Scripture.