This Bible contradiction is from the Skeptic's Annotated Bible.
By their words and deeds.
Matthew 12:37 View context
For by thy words thou shalt be justified, and by thy words thou shalt be condemned.
Luke 10:26-28 View context
He said unto him, What is written in the law? how readest thou?
And he answering said, Thou shalt love the Lord thy God with all thy heart, and with all thy soul, and with all thy strength, and with all thy mind; and thy neighbour as thyself.
And he said unto him, Thou hast answered right: this do, and thou shalt live.
John 5:29 View context
And shall come forth; they that have done good, unto the resurrection of life; and they that have done evil, unto the resurrection of damnation.
By their beliefs (and being born again).
Mark 16:16 View context
He that believeth and is baptized shall be saved; but he that believeth not shall be damned.
John 3:3 View context
Jesus answered and said unto him, Verily, verily, I say unto thee, Except a man be born again, he cannot see the kingdom of God.
John 3:18 View context
He that believeth on him is not condemned: but he that believeth not is condemned already, because he hath not believed in the name of the only begotten Son of God.