I'm going to challenge this point of view. It is absolutely, and obviously, expected that junior people have a ton to learn, and they should be given leeway for that learning process. So yes, if you fire a junior person because you're not willing to put in the mentorship necessary, then I agree, you are the problem.
However, junior people really shouldn't have any problem with motivation and drive, and in those cases where I've had to fire people, I've always wished I had done it sooner. More importantly, their peers wished I had fired them sooner, too. A bad or lax attitude can be an absolute killer for team morale if the person in question isn't dealt with quickly and fairly.