This is a famous declaration in American patriotic history, first given by Stephen Decatur as a toast in 1816 (according to the Oxford Dictionary of Quotations

'Our country ! In her intercourse with foreign nations, may she always be in the right: but our country, right or wrong.'