This is an interesting read with some insight. Age matters. Hours matter. SES matters.
https://criticalscience.medium.com/on-the-science-of-daycare-4d1ab4c2efb4
"Summary of effects
First, here are the effects of 15–30 hrs of daycare a week, broken down by age.
For ages 3+, there are few downsides and substantial advantages. Daycare boosts both cognitive skills (literacy and mathematics) and social skills as measured in the first few years at school.
For age 2, the findings are more mixed. This is the best age to start in terms of boosting later cognitive skills, but children are more likely to act out and be angry when they reach school.
For age 1, childcare may improve cognitive skills a little, though certainly less than starting at age 2. But it also has even larger negative effects on later behavior in school. There is no boost to social skills.
For children aged 0–12 months, daycare likely damages cognitive skills and children’s later behavior at school is even worse. There is no boost to social skills."