Grades don’t prepare children for the “real world” — unless one has in mind a world where interest in learning and quality of thinking are unimportant.
A lot of the time, I think grades and this obsession with having perfect grades makes students afraid of failure. In life, it is inevitable that you will fail at some point, so I think that this notion of having to achieve perfection does a disadvantage to preparing students for the real world.