The risk-benefit calculation is strongly age dependent. For old people there's no question about the benefit of the vaccines. For healthy children it's close.
https://www.medpagetoday.com/opinion/vinay-prasad/94646
How do you know you haven't been infected? Asymptomatic cases are common, and most people aren't getting frequent tests.