Strongly agree.
I was lucky enough to take a computer science course at my high school almost 20 years ago. The teach straight up we web design was 90% copying and 10% modification. He was a early retiree webmaster switched teacher.
Fast forward to today. System administration. I’m not paid to code. I’m paid to fix problems. So I research and focus on remediation. If there’s a script for a fix I’m using it.
I’m super paranoid about copying code to use on a production system though. Whenever I come across a script or code to fix an issue i go through it line by line to ensure I know what it’s doing.
Often I’ll just take the logic or parts I need and write my own.