This name has been used in Britain since the Middle Ages. It has been especially popular in Wales, where it is used in honour of the 5th-century patron saint of Wales (also called Dewi), as well as in Scotland, where it was borne by two kings. Over the last century it has been one of the English-speaking world's most consistently popular names, never leaving the top 30 names for boys in the United States, and reaching the top rank in England and Wales during the 1950s and 60s. In Spain it was the most popular name for boys during the 1970s and 80s.
Famous bearers include empiricist philosopher David Hume (1711-1776), explorer David Livingstone (1813-1873), musician David Bowie (1947-2016), and soccer player David Beckham (1975-). This is also the name of the hero of Charles Dickens' semi-autobiographical novel David Copperfield (1850).
This name got more popular in the early 1980s, then got a boost in 1990 when it was used by the main character in the movie Days of Thunder.
The name became regularly used in the Christian world due to the fame of Saint Anthony the Great, a 4th-century Egyptian hermit who founded Christian monasticism. Its popularity was reinforced in the Middle Ages by the 13th-century Saint Anthony of Padua, the patron saint of Portugal. It has been commonly (but incorrectly) associated with Greek ἄνθος (anthos) meaning "flower", which resulted in the addition of the h to this spelling in the 17th century.