In the opening of a modern novella, the protagonist, weary and disillusioned, reflects on past choices as they stare out at the horizon.
"It seems every decision is a stitch in the fabric of fate, just as Penelope wove and unwove her tapestry to keep time at bay."
Which literary device is primarily employed in this passage?