Here's why:
* Compound words are formed by combining two or more words. Examples include "sunlight," "bedroom," and "high school."
* "Yourself" is formed by adding the reflexive pronoun "-self" to the pronoun "you." It's a single word with a single meaning.
Therefore, "yourself" is a single word rather than a compound word.