Overall, if I notice a company hiring a lot of boot campers, I try to leave and let them have mostly entry level workers. Their product and codebase eventually reflects their staff (inexperienced). If you stick around and shepherd them, you more or less undervalue yourself in the long term. Just let them run wild until the company decides ‘this was a mistake’.
It’s nothing personal, it’s just business. This is a lesson I learned the hard way early in my career where I literally trained my future replacements. Literally went out of my way to train them. This is a seriously amateur move, and a tough lesson to learn since no one wants to be a jaded asshole, but that’s just how the business is.