The males act as impollinators for some plants. Plus, with their numbers, they're a food source for many amphibians and benevolent bugs.
Unfortunately, nature is a fucking machine who needs all of its pieces, even the smallest and most annoying ones.