If a Person Breaks One of the Ten Commandments, Can He Still Get to Heaven?
Yes, however, he or she must repent of whatever sin has been committed.
There is only one sin in Scripture that is said to be “unforgiveable”, and that’s blasphemy against the Holy Spirit (many believe this is refusing to accept Jesus even at the last moment) While a person has every chance to repent and be forgiven during life, there are no second chances after death: Matthew 12 32Anyone who speaks a word against the Son of Man will be forgiven, but anyone who speaks against the Holy Spirit will not be forgiven, either in this age or in the age to come” (NIV).
John the Apostle gives Christians reassurance of the forgiveness of sins. If you confess your sins sincerely, God will forgive you. : 1 John 1 “8If we claim to be without sin, we deceive ourselves and the truth is not in us. 9If we confess our sins, he is faithful and just and will forgive us our sins and purify us from all unrighteousness.” (NIV)
Here is more assurance of the forgiveness of sins. Habitual, unrepentant sin can keep a person out of heaven, but the good news is that you can be forgiven by asking God’s forgiveness. I Corinthians 6 “9Do you not know that the wicked will not inherit the kingdom of God? Do not be deceived: Neither the sexually immoral nor idolaters nor adulterers nor male prostitutes nor homosexual offenders 10nor thieves nor the greedy nor drunkards nor slanderers nor swindlers will inherit the kingdom of God. 11And that is what some of you were. But you were washed, you were sanctified, you were justified in the name of the Lord Jesus Christ and by the Spirit of our God.” (NIV)
No matter what sins a person may have committed, they can receive God’s gift of forgiveness as long as they’re alive.