It's a bad analogy. Ironically, this story flips the assymetry of death on its head. It is always easier to destroy than to create something durable.
It's not a coincidence that when the story flips the difficulty on its head such that the job was killing (bringing death) to a dragon, intuitions flipped too.
Every programmer knows that getting his program to crash is always an easier job than to keep it running indefinitely. Every probablistic bug eventually will happen on long enough timescales, and defeating death isn't defeating a single bug, it's defeating all of them. It isn't a single dragon but infinite bugs.
I preferred Blade runner take on it: when they tell the replicant that there was no built in destruction mechanism, they built him as best as they could, and that was simply it.