That taking of them away in the state mentioned is because they followed what angers God and because they were averse to what pleases Him that is to say they were averse to doing what pleases Him. Therefore He has made their works fail.