Satan creates situations that allows him to take advantage of the people he serves. “He will crush your head, and you will strike his heel.” (Genesis 3:15) Satan is not repentful, ever, and he is the father of lies.
Yet God had led Jesus into the wilderness explicitly to be tempted by the devil. We must overcome false offerings and stand righteously as the children of God. The LORD will keep an account of His lineage as He has since the time of Noah. (Gen. 5:1) If your thoughts are evil from the depths of your heart you will only be traveling a path of self-destruction. God’s not going to keep a record of that!
It was the word of God in Jesus that delivered him from Satan in the wilderness. God does not regret Jesus’s path of restoration on the earth. If we also take on such a path, a path of God’s absolute faith, absolute love, and absolute obedience, then we should not regret it either!