Is a compound a pure substance?

Flexi Says:
A compound is a substance that contains two or more elements chemically combined in a fixed proportion. A substance made up of a single compound can be homogeneous. For example, table salt (NaCl) is considered a pure substance.