Sorry, I know bible scriptures that mention God repenting, and other verses about God Never repenting has been brought up a number of times on this site in order to harmonize/reason how the said verses can be taken as a whole withOut contradicting each other:
Is there a contradiction between 1 Samuel 15:29 and 1 Samuel 15:35?
Numbers 23:19 Says God doesn't repent, Exodus 32:14 Says He repented?
Does God have regret or not in 1st Samuel 15?
However, I wanted to bring in the use of literary devices.
1 Samuel 15:29 says that God neither lies nor repents since He is not a man.
(1 Samuel 15:29) 29 And also the Strength of Israel will not lie nor repent: for he is not a man, that he should repent. KJV, ©1769
And yet, in 1 Samuel 15:35, it says that God indeed repented (for making Saul king over Israel).
(1 Samuel 15:35) 35 And Samuel came no more to see Saul until the day of his death: nevertheless Samuel mourned for Saul: and the LORD repented that he had made Saul king over Israel. KJV, ©1769
(Numbers 23:19 (KJV))
God is not a man, that he should lie; neither the son of man, that he should repent: hath he said, and shall he not do it? or hath he spoken, and shall he not make it good?
(Exodus 32:14 (KJV))
And the LORD repented of the evil which he thought to do unto his people.
Could we say that the contradiction between the aforementioned could be associated with literary devices of hyperbole, figure of speech? In other words, for God to repent or to regret something to do with his actions is so disturbing to God Himself that is why Samuel says in 1 Samuel 15:29 that God "will not lie nor repent" ?