Living at the Flavian court in Rome, Josephus undertook to write a history of the war he had witnessed. The work, while apparently factually correct, also served to flatter his patron and to warn other provinces against the folly of opposing the Romans.