Green’s Dictionary of Slang

balahack n.

also ballyhack, ballywack, ballywake
[? Irish baile, a town + heck n.]

a euph. for Hell; thus phrs. all to ballyhack, go to ballyhack.

T.W. King Journal Of A Voyage Around The World 181: How much more polite than the abrupt ‘Go to Ballyhack!’ which is exceeding rude.
[US]W.T. Thompson Chronicles of Pineville 77: It was just the easiest thing in the world for him to blow all Sammy Stonestreet’s cherished notions to Ballyhack.
[UK]Bird o’ Freedom 1 Jan. 1/1: ‘And what did you think of it in London?’ ‘Begorrah!’ came the reply, Pat—‘I thought the orchestra was bally wake!’.
[US] ‘Central Connecticut Word-List’ in DN III:i 3: ballyhack or ballywack, n. To go to Ballyhack is to go to hell.
W.E. Curtis One Irish Summer 286: I have often been told to ‘Go to Ballyhack,’ and many a time I have heard people wish that somebody they were offended at might go there.
[US]Dos Passos Three Soldiers 280: ‘But what about the Sorbonne?’ ‘The Sorbonne can go to Ballyhack.’.