When we homeschooled for a couple of years the school told us the same thing? “Your child will miss out on the socialization with other kids.” I told them we didn’t want to raise socialists. They didn’t like that.
I used to say that if a homeschooler wanted to simulate government school socialization, they could take their kids to the bathroom, blow smoke in their faces, beat them up, and steal their lunch money.