How did God punish the serpent for beguiling Eve?

He made the serpent crawl on its belly and eat dust.

And the LORD God said unto the serpent, Because thou hast done this, thou art cursed above all cattle, and above every beast of the field; upon thy belly shalt thou go, and dust shalt thou eat all the days of thy life. Genesis 3:14

Image result for genesis 3:14 serpent punished