Scarab beetles eat vegetation and insects, while the dung beetle survives on the waste material of livestock, but no species of scarab beetle eats human flesh. The assumption that scarab beetles eat human flesh comes from Hollywood filmmakers who have turned scarab beetles into human-flesh scavengers.
Scarab beetles have a diet of fruit, leaves, snail slime and fungi, making them garden pests for most people. The dung beetle is a well-known species because of the beetle's diet of livestock waste. Some dung beetles even roll the waste into little balls and bury it. Because of the dung beetle's diet and behaviors, it's considered beneficial to livestock.