Remember the thief on the cross next to Jesus on the day of His crucifixion? How much time do you suppose the thief had to do any good works? According to Jesus Himself, the thief saw Jesus that very day in paradise because of the belief he had.
“I * * * * spoke to the people, showing them that to get salvation we must not only do some things, but everything which God has commanded”. Teachings of the Prophet Joseph Smith, pg. 332.