This is the problem with telling kids they can do/be anything they want
If you're talking about things they can obviously choose, or something that's just a state of being (like tellign them it's ok if they're gay or whatever), then that's diffferent. But telling a kid that they can grow up to be anything they like, while it might be well-intentioned, it's just gonna lead to a shitload of adults who haven't grown out of their unrealistic childhood dreams. Most of us realise they're unrealistic as we grow up. But if you don;t, then the chances are you're be miserable and see yourself as a failure, because the chances are you WON'T achieve that dream of being an astronaut or an international footballer
I'm all for teaching kids to fulfill their potential etc. And I don't mean parents telling a kid that they're just as worthy as anyone else, regardless of their ethnicity or sex or class etc. But telling them they can BE anything when they grow up isnt true. For most of the things kids dream of becoming, you need natural skill/talent. And most of us don't have both the will and the talent