I agree that if I don't already know how to implement something, seeing a solution before trying it myself is not great, that's like skipping the homework exercises and copying straight from the answer books.
The problem now is the pressure to use llms means creating more code but understanding so much less.
These steps are what help you solve other issues in the future.