uhm...you do realize that Prophet Yunus AS was trapping inside a whale as a punishment cuz he left his people who were disobedient to Allah before Allah gave him permission to leave, don't ya? He was there as a guide and a spiritual leader for the people to, guess what, POLITICALLY lead to them to path of righteousness and enforcement 6of Allah's commandments. Yes, Allah has no need for humans but he created for the sole purpose of worshipping him even though he does not need us to worship him either. But the question arises that what EXACTLY is worship? doing 5 daily prayers? Well, no...those are prayer (as the word suggests). Prayers are part of worship, prayers themselves is NOT worship. Worship follow His laws in every aspect of life INCLUDING politics.
bluntly put and no offense but it is this exact ideology that has landed Muslims in the mess of corrupt leaders they are suffering today. millions of mullahs throughout the last 400 to 500 years and save a few handful, they mostly limited themselves to the 4 walls of their mosques and madrassahs, not getting involved in politics be it local, national or international/geo-strategic. after all, they are a bunch of "pious religious men", what do they have to do with politics right? just sit in a corner in their places of prayers, write books after books opposing the other sect's ways of praying, enjoys the bowls after bowls of halvas and just wait for death. Well death came to them first in the form of mongols and then in the form of british and french invaders followed by american invaders followed corrupt, filthy looters posing as political leadership.
I was about to post the same thing on Prophet Yunus AS.