He dies like a beast who has done no good while he lived.
生时不做好事,死了像个畜生。
Apparently what happened was that water collected on these tar pits, and the bigger animals like the elephants ventured out on to the apparently firm surface to drink, and were promptly bogged in the tar.