I found the meaning for the idiom - "Writing on the wall" from Cambridge online dic.

the writing is on the wall (US ALSO the handwriting is on the wall)
said to mean that there are clear signs that something will fail or no longer exist
Can you give me some examples which employs this idiom?

I will try my examples :

1) Most of the ancient wonders of the world are written on the wall (to mean that they don't exist : Stupid example!, isn't it?).

2) Don't try this, you will land up writing on the wall ( Sounds better!)
Hello BV

Unfortunately you can't use it like that.

It's an allusion to the story of Belshazzar, in the Book of Daniel (Old Testament) – here drastically edited down:

Belshazzar the king made a great feast to a thousand of his lords [and] commanded to bring the golden and silver vessels which his father Nebuchadnezzar had taken out of the temple which was in Jerusalem; that the king, and his princes, his wives, and his concubines, might drink therein....

They drank wine, and praised the gods of gold, and of silver, of brass, of iron, of wood, and of stone...

In the same hour came forth fingers of a man's hand, and wrote upon the plaster of the wall of the king's palace: and the king saw the part of the hand that wrote...

Then the king's countenance was changed, and his thoughts troubled him...

The king said to the wise men of Babylon, Whosoever shall read this writing, and shew me the interpretation thereof, shall be clothed with scarlet, and have a chain of gold about his neck, and shall be the third ruler in the kingdom...

Then came in all the king's wise men: but they could not read the writing, nor make known to the king the interpretation thereof...

Now the queen spake and said, Let Daniel be called, and he will shew the interpretation...

Then Daniel answered and said before the king, I will read the writing unto the king, and make known to him the interpretation:

O thou king, the most high God gave Nebuchadnezzar thy father a kingdom, and majesty, and glory, and honour...

But thou his son, O Belshazzar, hast lifted up thyself against the LORD of heaven; and they have brought the vessels of his house before thee, and thou, and thy lords, thy wives, and thy concubines, have drunk wine in them; and thou hast praised the gods of silver, and gold, of brass, iron, wood, and stone...and the God in whose hand thy breath is, and whose are all thy ways, hast thou not glorified...

[For this reason] was the hand sent from God...

And this is the writing that was written:

MENE; God hath numbered thy kingdom, and finished it.
TEKEL; Thou art weighed in the balances, and art found wanting.
PERES; Thy kingdom is divided, and given to the Medes and Persians.

Then commanded Belshazzar, and they clothed Daniel with scarlet, and put a chain of gold about his neck, and made a proclamation concerning him, that he should be the third ruler in the kingdom.

In that night was Belshazzar the king of the Chaldeans slain...

And Darius the Median took the kingdom...

So as in Belshazzar's case, once the 'writing is on the wall', the game is up.

"The writing has been on the wall for some time for the Rover car manufacturers, and finally on Friday the Company collapsed"

It had been obvious for some time that things were going badly at Rover, and the company has finally gone bankrupt.

"Shrewd suppliers saw the writing on the wall, and diversified their interests."

Knowledgeable suppliers realised that the company would collapse, and sought other outlets for their products.

"The writing on the wall" is always used in a negative sense, to describe something that should have been foreseen but was inevitable.

" He was a poor manager; he should have seen the writing on the wall long ago"

He wasn't good at his job, and should have realised that he would lose his job.
Students: Are you brave enough to let our tutors analyse your pronunciation?
It's remarkable, MrP.

I would be glad if you give me some more examples. (Even one or two line sentences are welcomed!)

Thank you.
 abbie1948's reply was promoted to an answer.
Site Hint: Check out our list of pronunciation videos.
Remarkable examples.

Thanks Abbie.