These words and their explanation are found in Daniel chapter 5. The last word is not "parsin" but rather upharsin and is shortened to "peres" in Daniel's answer to Belshazzar.
Daniel 5:25-28 And this is the writing that was written, MENE, MENE, TEKEL, UPHARSIN. This is the interpretation of the thing: MENE; God hath numbered thy kingdom, and finished it. TEKEL; Thou art weighed in the balances, and art found wanting. 28 PERES; Thy kingdom is divided, and given to the Medes and Persians.
As Belshazzar and his friends conducted an orgy in Babylon using the utensils taken from the Temple in Jerusalem, a hand appeared writing the words in question on the wall of the palace. As Daniel explained, that very night, Belshazzar would be killed and the empire of Babylon overthrown by the Medes and Persians. And so it happened according to the word of God delivered to Belshazzar by Daniel.
By the way, this incident is the origin of the common saying in English that "the writing is on the wall" meaning that the signs of imminent catastrophe are evident.
I hope you have found this helpful.