The chemicals involved in modern matches are generally safe, but that wasn't always the case:

In 1830 one pack of matches contained enough phosphorus to kill a person.

The Diamond Match Company, for example, makes more than 12 billion matches a year. Approximately 500 billion matches are used annually in the United States.