1989 Nintendo, I think the system was released in 87 so this would be one of the EARLY early games.
It mentioned Ghosts and Dragons, so I'm going to guess it's a quote from Ghosts and Goblins? My next guess is Faxanadu.

Both games rocked anyhow; I miss the good old-fashioned 2D action/rpg format.
BTW: the best game music in all of history was written for Castlevania. That soundtrack runs through my head 24/7 no matter what I do to counteract it. The Final Fantasy composer during #2 and #6 comes a close second. (not jazzy enough!)