yourself is a reflexive pronoun used to refer back to the subject of a sentence or clause. This allows the subject to refer to themselves in a sentence; in other words, it serves as an intensive pronoun or an intensive form of the pronoun 'you.'
1. After you’ve finished your work, you should reward yourself.
2. Relationships are built on mutual respect for yourself and others.
3. You must learn to trust yourself before others can trust you.
Using yourself as a singular reflexive pronoun differs from using 'yourselves' as a plural reflexive pronoun. Furthermore, using the reflexive pronoun 'yourself' is sometimes seen as more formal than using the personal pronoun 'you.'