Faith and Righteousness

Two people do the same good deed—the first believes they will be rewarded, while the second is unsure. Which deed is more righteous?

Two people live equally charitable lives—the first is a Christian with a strong faith, the second is an agnostic. Which person is more righteous?