There are some passages which emphasise that you only need to accept christ to go to heaven, whereas others emphasise that works are needed also to go to heaven.
I have heard that once you accept christ, he will work in you so that you perform the works needed to go to heaven. So technically both but accepting christ alone is what causes the works to happen.
However, there are people that accept christ but then end up falling off the path, some even dying before they stop backsliding and havent done any works.
What are your thoughts on this matter?
If it boils down to what we have to do to "get to heaven", then that would be works anyway. As a work is "a thing that is done". If faith is something we do--a work--then that is still works. A work is a work is a work.
I'm a Lutheran, which means I don't believe in any kind of salvation by works; rather I believe that salvation is by God's grace alone.
Grace-based salvation means that it is God who does the work, not us. And that includes faith. Faith is not something I do, I do not "accept Christ to go to heaven". Rather God, through Christ, has already accomplished the work and now graciously comes down to me through Word and Sacrament to give me faith as a pure gift. Thus through faith we are justified, not by our efforts or works of faith; but rather by God imputing to us the righteousness of Jesus Christ, faith takes hold of that promise and trusts in it.
Good works are not done for God as though God is impressed by whatever works we do. Rather the Apostle St. Paul has written that we were created for good works prepared for us in Christ Jesus that we should walk in them. These good works are borne of faith and freedom; they do not earn us anything from God, but rather are done out of a loving obedience, a new obedience, not of a slave but as a child of God.
There's a popular saying among Lutherans, "God doesn't need our good works, but our neighbor does."
That is a short and sweet summary of the Two Kinds of Righteousness, a major theological point in Lutheranism. That there is a righteousness before God "How is a person made right with God?" and there is a righteousness before our neighbors "How is a person made right with their neighbor?". The first kind of righteousness is called a passive righteousness, because it is the righteousness that is from God, as a pure gift, it is in fact the alien and imputed righteousness of Jesus Christ. Thus the vertical relationship, the one between us and God, is a space occupied by Christ and Christ alone, and faith alone receives this--that is the "righteousness which is by faith" that Paul mentions. There is also the horizontal relationship, between us and our neighbors, this is called an active righteousness because it is about what we actually do and how we live: To actually love others, feed them when they are hungry, to do what is right because it benefits those around us.
Two kinds of righteousness means there is that righteousness which is before God, which is Grace Alone, Faith Alone, and Christ Alone. And there is a righteousness which is before other people, which is by our works.
Because of this this strict distinction, we can never look to our works to view our relationship with God; and conversely we can never think that because God has forgiven us and "where sin abounds grace abounds all the more" that we are off the hook from a life of active good works, of obedience to God.
If we understand this distinction then everything in Scripture falls into place. James is not teaching that we must measure up to God and earn our place before God through good works, to be righteous before God by our works. Instead, see how St. James instead teaches how we are to relate to our neighbors. James is not speaking Gospel, how we are reconciled to God; but Law, and the proper place of the Law in our active Christian lives: how we are made right with our fellow human beings made in God's image.
-CryptoLutheran