That’s hogwash. You can take someone without professional experience but aptitude, put them in a professional environment and they will be cranking out decent production ready code and features faster than you’d think. Yes, even at Amazon level.
They won’t usually be FAANG level senior engineers in 5 years, but actual training when your organizations already knows the right way to do things already can take you really far.