ٱلْمُلْكُ يَوْمَئِذٍ لِّلَّهِ يَحْكُمُ بَيْنَهُمْ ۚ فَٱلَّذِينَ ءَامَنُوا۟ وَعَمِلُوا۟ ٱلصَّـٰلِحَـٰتِ فِى جَنَّـٰتِ ٱلنَّعِيمِ Qur’an Al-Hajj (22:56)Almulku yawmaithin lillahi yahkumu baynahum faallatheena amanoo waAAamiloo alssalihati fee jannati alnnaAAeemi
Allah grants authority to some of His servants in this world, but none will have authority on Judgment Day except Him. See 3:26.
Such power as Evil has over those who yield to it (xvii. 62-64) will then be gone, as the respite granted to Satan be over, and Allah's Kingdom will be established.