After they were misled by Satan to sin, Adam(as) and Eve(ra) felt remorse and seeked forgiveness “Our Lord! We have wronged ourselves. If Thou forgive us not, and bestow not upon us Your Mercy, we shall certainly be of the losers.” (Qur'an 7:23)
and God forgave them "Then Adam received from his Lord [some] words, and He accepted his repentance. Indeed, it is He who is the Accepting of repentance, the Merciful." (Qur'an 2:37)
From an Islamic perspective, Adam(as) is a prophet of God, and there was communication with God after the "fall" and repentance.
there is always winners and losers in life, its not the devil vs god or a sin ? you have a choice all your life and choosing what you want over something else is made for the good of yourself