So if a child infects their parent and parent dies but it was avoidable by child vaccination then was vaccinating the child an act of protection or not?
COVID-19 vaccines are directly beneficial to children because they help them to avoid serious disease.
But we can't discount indirect benefits. Drugs are for individuals, vaccines are for societies.