Daniel N. answered 08/20/19
Experienced Tutor for High School and College Biology
There is also another angle to look at this, to consider live bearing species, such as rodents and rabbits, that also breed relatively often and at high rates, but do not lay eggs, and to explain why other egg laying species, such as some reptiles, put a great deal of parental care into their offspring.
Very generally, you can think of two ways to make sure your genes make it to the next generation: have one or a few offspring, and take care of them till old enough to reproduce (humans) or have a hundred offspring each year, and hope that at least a few of them make it (frogs, mice, insects). Both strategies are effective, and different environments can lend evolutionary pressures to result in one or the other being the most optimal for a species.