I know this feeling:

"Geeks write scripts to take apart dull, repetitive tasks. They'll
spend 10h writing a script that will save 11h -- because writing
scripts is interesting and doing dull stuff isn't."

... from live blogging of a 2004 tech conference, by @pluralistic:

https://craphound.com/lifehacksetcon04.txt

@wallingf @pluralistic 11 hours? They'll spend 10 hours writing a script that will save 5 or 6 hours of work.

Think of it like a walk to work - would you rather take the direct route, 1/2 hour next to noisy dreary roads, or the scenic route, a whole hour through peaceful treed woodland?

@dragonfrog @wallingf @pluralistic ...but sometimes you get lucky: after spending 10 hours writing a script that solves a problem that would have taken 4 hours to fix by brute force a similar problem arises and your script almost works a second time!