I strongly disagree with the idea that the outcome of child education depends on "what the student puts into it." A quality education shapes a child, instills a growth mindset, nurtures curiosity, encourages grit and perseverance, and meets the child where they're at. A barren garden is not the fault of the seeds.
This hits close to home for me as I am working with a child now who has been written off by his school and teachers as a "bad student." There is no such thing. He needs some extra support and coaching to learn some meta-strategies like asking for help when needed, planning, organization, and yes, diligence, but ultimately he wants to succeed and is capable of it, just like any other child. Children don't fail school. School fails children.
I was commenting on that my homeschooling experience was great. However, I have a small direct sample of myself and my siblings and some homeschooling group friends.
Anyway, looking back I am sure that the outcome is based on what the student puts into it. My experience may not be common, but I do personally know many people from my homeschooler groups who have gone on to be very successful adults, engineers, parents, and more.