It is also the family motto of Montresor, the narrating character in Edgar Allen Poe's A Cask of Amontillado, which you may read by clicking on the linked title. It is one of my favorite stories by Poe.
And oh by the way.....
Cheers to you,
Some have meat but cannot eat;
Some could eat but have no meat;
We have meat and can all eat;
Blest, therefore, be God for our meat.
- Dr. Plume, The Selkirk Grace, in his manuscripts in a handwriting from about 1650
And...
Here's to you, as good as you are,
And here's to me, as bad as I am;
But as good as you are, and as bad as I am,
I am as good as your are, as bad as I am.
Old Scottish Toast