This text comes from The Poetical Works of Robert Burns, a historical songbook transcribed on Wikisource and reproduced from the pinned revision linked below.
CHORUS.
O ay my wife she dang me,
An' aft my wife did bang me;
If ye gie a woman a' her will,
Guid faith she'll soon o'ergang ye.
On peace and rest my mind was bent,
And fool I was I marry'd;
But never honest man's intent
As cursedly miscarry'd.
Some sa'r o' comfort still at last,
When a' thir days are done, man,
My pains o' hell on earth are past,
I'm sure o' bliss aboon, man.
O ay my wife, &c.