Welcome to the forums.
Sorry - we do not do your writing for you.
As I understand, you were interviewed for a job and were offered and accepted it. Later you were interviewed by another company and offered a better job. You now want to write to the first company to say you are no longer interested in their job.
Is this correct?
If so, try writing a letter saying this. We will look at it and advise you.