Although not actually an oratorio - it is really a series of six cantatas - it was written for the 1734-1735 Christmas celebration in Leipzig.
"To illustrate this, the most sacred of Christian celebrations, Bach chose to``parody""many movements from secular cantatas."