Relying on AI makes you replaceable because anyone can write a prompt. What makes a junior dev valuable is their ability to learn the business domain, collaborate with a team, and understand the core architecture of the product.
Anyone can type a prompt. The true value lies in understanding the domain context and team dynamics. Those are the human skills that protect your career.