Bamidbar / Numbers 23:19 · Pshat
לֹא אִישׁ אֵל וִיכַזֵּב וּבֶן־אָדָם וְיִתְנֶחָם הַהוּא אָמַר וְלֹא יַעֲשֶׂה וְדִבֶּר וְלֹא יְקִימֶנָּה׃
God is not a man, that He should lie, nor a son of man, that He should change His mind. Has He said, and shall He not do it? Or has He spoken, and shall He not fulfil it?
Pshat פְּשָׁט
God does not change His mind
A person can promise and change his mind: he forgot, could not, or took offence. Balak hopes the same happens with God. Bilam explains to him why not.
Rashi: the Eternal has already sworn to bring Israel into the land of the seven nations, and Balak thinks to kill them in the desert. Chizkuni: people go back on their word for three reasons: they do not keep their word, they cannot carry it out, or the one who received the promise did wrong. The first two do not apply to God, and Israel did no wrong. Rashbam: how would He lie for no reason?
How Rashi, Chizkuni, and Rashbam explain it
Rashi God is not a man
He has already sworn to them to bring them in and give them the land of the seven nations as an inheritance, and you think to kill them in the desert?
Rashi Has He said
This is a question of wonder. And the Targum renders it this way: people change their minds and take counsel again, that is, they go back on their words.
Chizkuni God is not a man, that He should lie
He is not a man, to go back on His blessing, for I blessed them today in His Name, and they have done no wrong.
Chizkuni Nor a son of man, that He should change His mind
There are three kinds of changing one's mind. One is of a person who does not keep his word, another of one who cannot carry it out, and the third when the receiver has done wrong. Of the first two Bilam (Balaam) said: "nor a son of man, that He should change His mind".
Rashbam That He should lie
How would He lie for no reason at all?
Rashbam That He should change His mind
This is a question of wonder: how would He change His mind?
Takeaway
The seven nations are the peoples of Canaan whose land the Eternal promised to the fathers (Devarim / Deuteronomy 7:1).
The Targum is the Aramaic translation of the Torah made by Onkelos.
Bilam (Balaam) says this in his second parable, after Balak took him to a new place, hoping for a curse (Bamidbar / Numbers 23:13).