Answer: Unfortunately, based on your description, I am not certain which particular beetle you discovered, but the white worms were most likely grubs (meaning immature beetles of some sort). Grubs can eat plant roots and in some cases beneficial nematodes can be used to control them without chemicals. This can be important if they are in your vegetable garden. Another method is to simply squash them as you find them while working the soil. Finally, you might want to take a sample to your county extension for a more precise identification and suggested controls.
Q&A Library Searching Tips