Sufyan Ibn ‘Uyaynah said:
“Whosevers sin was (committed) due to desire, then hope for his repentance. For indeed, Adam disobeyed due to desire so he was forgiven, (and) if a sin is committed due to arrogance, then fear for the curse upon the disobeyer, as verily, Iblees (the devil) disobeyed due to arrogance so he was cursed”
[Hilatul Awliyaa 7/272]