"One popular song at least has left its permanent effect on the game of golf. That song is 'The Bogey Man.' In 1890 Dr. Thos. Browne, R.N., the hon. secretary of the Great Yarmouth Club, was playing against a Major Wellman, the match being against the 'ground score,' which was the name given to the scratch value of each hole. The system of playing against the 'ground score' was new to Major Wellman, and he exclaimed, thinking of the song of the moment, that his mysterious and well-nigh invincible opponent was a regular 'bogey-man.' The name 'caught on' at Great Yarmouth, and to-day 'Bogey' is one of the most feared opponents on all the courses that acknowledge him." [1908, M.A.P.]
"For men use to write an evill turne in marble stone, but a good turne in the dust." [More, 1513]
To write (something) off (1682) originally was from accounting; fig. sense is recorded from 1889. Write-in "unlisted candidate" is recorded from 1932.