The line comes from Mel Brooks's comedy History of the World, Part I, released in 1981. Brooks plays King Louis XVI in the French Revolution segment, pausing amid the chaos to grin at the camera and declare that it is good to be the king. The moment became one of the film's most quoted gags, summing up the whole sketch in a single smug aside. Decades later the clip circulates online as a reaction sound, dropped over moments of triumph, privilege or tongue-in-cheek bragging.