My question: Is the following statement true?
"Capsaicin primarily is found in peppers as a defense measure against birds."
Please think gradually:
Capsaicin is a irritant for all animals including humans. Humans just managed to get it to work for them.
Thus, the answer is yes.