This occurs in Episode 1, but the graffiti on the wall is referred to in several subsequent ones. Grizz says the expression "mene mene tekel upharsin" is Hebrew. It's actually Aramaic. The words refer to measures of money.... They are interpreted in the Book of Daniel as meaning what Grizz says in English. But "The writing is on the wall" has become it's figurative meaning.