If you know what you want to do (i.e. you have the architecture/pseudo-code in your head already), LLMs are a actually quite good at transforming that into real code and do save you time/effort. If you are using them like slot machines, and hope for the best after a vague prompt, then yes, it's not worth it, it just leads to frustration and wasted energy.