SMS dit: Photoinduced electron pairing in a driven cavity