Text this: Photoinduced electron pairing in a driven cavity