" 20 And these things doth the Spirit manifest unto me; therefore I write unto you all. And for this cause I write unto you, that ye may know that ye must all stand before the judgment-seat of Christ, yea, every soul who belongs to the whole human family of Adam; and ye must stand to be judged of your works, whether they be good or evil;
21 And also that ye may believe the gospel of Jesus Christ, which ye shall have among you; and also that the Jews, the covenant people of the Lord, shall have other witness besides him whom they saw and heard, that Jesus, whom they slew, was the very Christ and the very God.
22 And I would that I could persuade all ye ends of the earth to repent and prepare to stand before the judgment-seat of Christ."
Mormon here describes the purposes of his writings. They are:
1) To tell the whole human family that they will be judged by their works.
2) That all may believe the gospel of Jesus Christ.
3) That the Jews will have another witness that Jesus is the Christ and Savior of the world
4) To persuade all people to repent, thus being prepared for the inevitable judgement.
These are all unselfish reasons. I can tell that Mormon really loved the people and wanted them to be on good standings with the Lord.