Why The Exam Of This World
Why iblees had Anaa and Adam repented? Because the very purpose of all this creation is Submission to Allah’s will no matter what. He didn’t create bots or computers with default obedience settings, he gave free will to them. It’s his design. Two forces of evil and good are pulling them, only those humble, obedient and submitting to God’s will are gonna make it. Doesn’t show a dent in creation, good and evil are by design there.
Please also see these videos in the context of your questions: Please refer to the video below from 3:08 to 7:26 https://youtu.be/weuhUMjUXjc?t=188