Jeremiah 32:35 And they built the high places of Baal, which are in the valley of the son of Hinnom, to cause their sons and their daughters to pass through the fire unto Molech; which I commanded them not, neither came it into my mind, that they should do this abomination, to cause Judah to sin.
In context God was saying that he never ordained that kind of abominable pagan "worship" for Himself .
God that knows the beginning from the end , was not caught unaware of that sin or any sin .
Yes ... I am aware that God knew that it was coming.
The point that I was making is that God did not plan this, ... nor were the Israelites doing as He intended when they did this.
I do not think you can draw the inference that God did not know that the Jews would follow after strange gods and their practices ..that is why he had the heathen killed before them as they took the land. If He fore-knew this , and it happened He had by inaction ordained it .
I think that you agree that God has as one of His attributes Omniscience ...there is no way that he was "surprised"
nor were the Israelites doing as He intended when they did this.
That is a description of Sin
Sin is always against the will of God .
If He knew it would happen and created the situation anyway then He did intend for it to happen.