Hello [Candidate Name],
Thank you for applying to [company name]. While we received a large number of qualified candidates for the role of [position name], with you among them, at this time we've opted to extend the job offer to someone else.
Please know that this decision in no way reflects inadequate work history on your part. We really appreciated your resume and think you may be a good fit elsewhere in our company. We have your resume on file, so we encourage you to apply at some of our other positions at [job page web address]. If any other positions interest you, let me know if there's anything I can do to help steer you in the right direction and get you set up with another interview. Otherwise, thanks again for applying and we wish you the best of luck in your employment search!
[Hiring Manager Name]