The similar phrases you see are part of the narration, and they mention nothing about prophecy. In hermeneutics, you'd need a greater reason than similar narration to identify the genre of what is being spoken.
Knowing whether the statements were prophecy or history or ideology or law, et cetera, you must look at the statements themselves.
And, if you look at the Numbers passage, that is not a prophecy either, it is a historical account.
Numbers 23:7 (NASB)
He took up his [a]discoursediscourse and said,
“From Aram Balak has brought me,
Moab’s king from the mountains of the East,
‘Come curse Jacob for me,
And come, denounce Israel!’