God does not repent because He never makes a mistake. Num 23:19
Our Lord is disappointed when we are foolish, weak, unbelieving and disobedient.
In this passage we see how the law of God works. When we repent and change our ways, we avoid the curse of the law and begin to thrive in the blessings of the law.