Therefore the Lord was very angry with Israel and said, "Because this nation has violated the covenant I ordained for their ancestors and has not listened to me, I will no longer drive out before them any of the nations Joshua left when he died. I will use them to test Israel and see whether they will keep the way of the Lord and walk in it as their ancestors did." Judges 2:20-22
Where are be disobeying The Lord's best for us? Even though there are consequences He tests us through the process. It is another testimony to His Grace.