The writer meant deserts, and he is correct. Deserts are barren places, that are hard to survive in, so the grasshoppers got their just deserts. Meaning they got nothing because they did nothing to obtain them and they didn’t know how to keep them. In the end they gained nothing.
I just been eddicated!