“By jingo!” is an archaic, jocular oath, of obscure origin, used in Britain in the 18th and 19th centuries. The word — with derived forms such as ‘jingoism’ and ‘jingoistic’ — became associated with aggressive, militaristic nationalism as a result of a popular song dating from the Turko-Russian war of 1877-78, which began:
We don’t want to have to fight,
but by Jingo if we do
We’ve got the ships, we’ve got the men,
we’ve got the money too.
Interestingly (in the light of the circumstances of this particular war), it is also the name of a warlike Japanese empress of the 2nd/3rd centuries, credited by legend with the power of controlling the tides.