But those who had knowledge, those who were wise, those whose understanding lead them to obey Allah's commandments knew that Allah's reward is better for him who believes and does good than all the money, power and position we can muster in a decaying world. And they knew that none is made to receive this reward except the patient and the obedient. Therefore, Korah died and he had no help against Allah's Wrath. Korah was not obedient, therefore he had understanding. And when they measure out to others or weigh out for them, they give less than is due.
Disobedience comes from the hypocrites and they learn from chastisements.
To disobey Allah and His Messenger is actually an act of rebellion against them. Therefore, only one who does not understand would be foolish enough to believe that he can be disobedient and his actions and deeds will go undetected and not answered by Allah and His Messenger. Many wish for us to believe that they will obey Allah, but they will not obey His Messenger. This is because they do not believe in Allah as they say, because they do not see him, nor do they know Him. Yet, they see His Messenger, and because His Messenger is here among us and we can see him and hear his judgments, they seek not to obey him because of his presence.