And he [Solomon] sought among the birds and said: How is it that I see not the hoopoe, or is he among the absent ? I verily will punish him with hard punishment or I verily will slay him, or he verily shall bring me a plain excuse. 27:20
Allah leads those who do not believe in the Hereafter astray by making
things work out OK in this life, so that he can torment them forever in the next.
They will get the worst punishment and will be the greatest losers. 27:4-5