The fruit of the righteous refers to the results of the actions of the righteous, i.e. those act appropriate to their faith in God. These would include living a transformed, holy life and proclaiming the good news of the gospel of the kingdom of God. They are like a tree of life which saves people by attracting them away from the path that leads to death and destruction.