When Adam AS disobeyed Allah’s Command because of Shaytaan’s deceit, what did he do? He made the famous du’a
Rabbana dhalamna anfoosana wa illam taghfirlana warhamna lanakoonanna minnal khaasireen
My Lord, we have wronged ourselves and if You do not forgive us and have mercy on us, we will become one of the losers
That is why Adam was made the Khalifa of Allah, and this is testament to the Infinite Wisdom of Allah. It’s because when Shaytaan sinned, he blamed Allah, but when Adam AS sinned because of Shaytaan, he didn’t play the blame game. He took responsibility, and he sought forgiveness from the One who Eternally Forgives
That is why mankind is Allah’s Greatest Creation.