Humans are indeed prepared by the Creator as His representative on Earth. Thus, the basic provisions as leaders and regulators are prepared by the Creator as the basic abilities of every human being. Both the ability to control oneself and the ability to control others.
In the Qur'an Surah Al Baqarah starting verse 30, the Creator has described the plan for the creation of humans on Earth, although initially this plan was feared by the Angels. However, it is reassured in the next verse that many things that angels do not know about humans as reinforcement will still be created by humans.