Stop making things overcomplicated.
Instead of throwing more time or energy into your problem, ask yourself if it is absolutely necessary.
Do you really have to do this?
Can you fix it by subtraction instead of addition?
Can you seek help from someone else who can do it 10x more efficiently than you can?
Nothing is going to ever be perfect, so stop hurting yourself.