He [Satan] knows his time is limited and God allows him to do his evil because we - human kind - have been given the opportunity to decide if we will embrace good or evil. Those that embrace evil will be weeded out from the true believers who are working to turn from evil and to grow in faith.