What does the Bible say about the relationship between a positive attitude and our legacy or impact on future generations?

Bible's view on positive attitude and legacy