The entrance to many Egyptian tombs was inscribed with a course or warning,designed to protect the tomb from raiders who might want to steal the treasures within.What would you write to warn off tomb raiders?

I think you mean a curse, right?

The question is -- "What would you write ... "

Yes..

To write a warning or course to ward off tomb raiders, you would want to use language and symbolism that conveys the seriousness of the consequences for trespassing or disturbing the tomb. Here's an example of what you could write:

"Beware, all who enter here! This sacred resting place is guarded by the wrath of the pharaohs. Any who dare to desecrate this tomb shall invoke the curses of the ancient gods and face eternal damnation. Turn back now, for death awaits those who defy this warning!"

To supplement the writing, you could include imagery and pictorial symbols such as representations of vengeful deities, ominous creatures, or scenes depicting the torments that befell the disloyal in the afterlife. These warnings would aim to deter potential tomb raiders and protect the sanctity of the tombs.