Joseph A. Schumpeter: “History sometimes indulges in jokes of questionable taste.”
I would say: history is a joke of questionable taste.