When We decreed Solomon 's death , nothing indicated his death to them except a worm from the earth , which was eating away at his cane . When he fell down , the jinn plainly realized that if they had known what was unseen , they would not have had to continue with such humiliating labour .