We are not saved by our own self-righteousness, but by God's imputed righteousness, through faith in Jesus Christ (Romans 10:3-4; Philippians 3:9).
So, a Christian can gamble, commit fornication, steal, curse in the Lord's name and do really bad things, and still go to Heaven. The people who have a big problem with that kind of thinking are NOT saved. We are saved by what Jesus did on the cross, becoming the sacrifice for our sins. Jesus died as the sacrificial Lamb of God (John 1:29). He raised up the third day as our heavenly High Priest (Romans 8:34; Hebrews 4:14-15).