Europe chooses schools over bars when deciding how to slow the pandemic. Was it effective?

After closing schools at the start of the pandemic, many European countries chose to keep classrooms open in the fall and prioritized closing bars, restaurants and hotels first.