Are beetles herbivores?

Can you answer this question?