Dear (Name Of HR)
I am sending this email to inform you that I will not proceed with the interview process (job title and company name). I want to withdraw my candidacy.
I have accepted another position, and I am no longer searching for employment. Thank you for the time you took during the interview process. It was a pleasure to meet you, and I hope you will find the right candidate for the job.