This text comes from The Poetical Works of Robert Burns, a historical songbook transcribed on Wikisource and reproduced from the pinned revision linked below.
The friend whom wild from wisdom's way
The fumes of wine infuriate send;
(Not moony madness more astray;)
Who but deplores that hapless friend?
Mine was th' insensate frenzied part,
Ah why should I such scenes outlive?
Scenes so abhorrent to my heart!
'Tis thine to pity and forgive.