verse 23: Therefore, cheer up your hearts, and remember that ye are free to act for yourselves—to choose the way of everlasting death or the way of eternal life.
We have been given the gift of free agency. We can choose for ourselves whether to follow the commandments from God and our prophets, or whether to go our own way. It's important to remember, though, that when we make a choice, we are also choosing the consquences. Making correct choices leads to eternal life, while poor choices carry a consqequence of everlasting death.