Sihai network

What did he predict on his deathbed

Before he came to the execution ground, the king said to the prophet: 'aren't you very good at predicting? Why can't you predict that you will be executed today? I'll give you a chance to predict how I will execute you today. If you are right, I will let you die by poisoning; otherwise, I will hang you. '

But the wise prophet's answer made it impossible for the king to put him to death.

Excuse me, how did he predict?