Of course many drunken bonfires end up needing health care and/or firefighting. However they need not. How do you fix your friends?
If we had a system, were you could register yourself and the society would be allowed to not help you, that would be great. But no we have a medical code (which funny enough is not enough to let woman die when they have a difficult/livethreatening pregnancy...)
Don't use Copilot, Gemini, Cursor or any other code assisting tool for the several first years of your study or career. You will write code slower than others, sure, but what you'll learn and what you build will be a hundred times more useful for you than when you just copy and paste 'stuff' from AI.
Invest in fundamentals, learn best practices, be curious.
If i use google maps to find my way around, i'm faster by a lot. I also do remember things despite google maps doing the work for me.
Use Code assistent as much as possible but make sure to read and understand what you get and try to write it yourself even if you just write it from a second window.
In this age and pace, writing code will change relevant in the next few years anyway