God was not to leave the believers as they were without distinguishing the rotten from the good. And God was not to let you know the future, but God chooses from His messengers whom He wishes; so believe in God and His messengers. And if you believe and are righteous, then you will have a great recompense.
ما كان الله ليذر المؤمنين على ما أنتم عليه حتى يميز الخبيث من الطيب وما كان الله ليطلعكم على الغيب ولكن الله يجتبي من رسله من يشاء فءامنوا بالله ورسله وإن تؤمنوا وتتقوا فلكم أجر عظيم