He warned him about Iblis (Satan) saying that he will try and get them expelled from Paradise.
(So We cautioned, “O Adam! This is surely an enemy to you and to your wife. So do not let him drive you both out of Paradise, for you ˹O Adam˺ would then suffer ˹hardship˺.) Taha 20:117
حذر الله تعالى آدم عليه السلام من إبليس على أنه سيحاول إخراحه و زوجته من الجنة.
( فَقُلْنَا يآءَادَمُ إِنَّ هَـٰذَا عَدُوٌّ لَّكَ وَلِزَوْجِكَ فَلاَ يُخْرِجَنَّكُمَا مِنَ ٱلْجَنَّةِ فَتَشْقَى )ٰ
طه 20 :117