It is against academic integrity to ask others to write a final paper. If the teacher finds out, he will be severely punished. Nowadays, the education system pays more and more attention to academic integrity, and many schools have taken various measures to prevent students from writing instead of copying. For example, teachers may ask students to attach drafts, references and other materials to prove that they have finished their papers, or detect plagiarism through software. So it is easy for teachers to find that the final paper was written by someone else.
Letting others write the final paper will not only be discovered by the teacher, but also have a negative impact on their own study.