First of all, what is sin? "it is an evil human act, which violates the rational nature of man as well as God's nature and his eternal law".
"Sin is any action, feeling, or thought that goes against God’s standards. It includes breaking God’s laws by doing what is wrong, or unrighteous, in God’s sight. ( 1 John 3:4; 5:17 ) The Bible also describes sins of omission—that is, failing to do what is right.— James 4:17 ."
Not adhering to all the commandments of God,or failing to keep the principles of the bible or ignoring the word of God is sin. Sin is disobeying the word of God, doing things that contradict the principles of the bible, not following the instructions of God.
How do we know the mind of God and where can we find the commandments of God? It is in the bible. All God's instructions are written in the Bible. If you want to know the mind of God concerning a particular issue, go to the Bible and find it.
Now, is it possible to keep all the commandments of God? Is it possible to live a righteous life in this aborminable world? Is it possible to please God,the Creator of heaven and earth? Is there any righteous man on earth that is living his life above sin?
Yes! It is possible for someone to live a holy life on earth. There is someone on earth who is 100% perfect in keeping the word of God. You can be exceptional for Christ if you determine to, with the help of the Holy Spirit.
Now unto him that is able to keep you from falling, and to present you faultless before the presence of his glory with exceeding joy, To the only wise God our Saviour, be glory and majesty, dominion and power, both now and ever. Amen. (Jude 4-25)
It is left for you to show interest to worship and serve God by going to Jesus to save your soul (God doesn't coerce you to worship Him, You have the choice to choose not to serve your Creator,but know for sure there is a repercussion for your wrong choice if you choose to serve the devil. You can't do without your Creator, best thing is to reference God). You won't be able to live a righteous life if you're not save from your life of sin, why, because all man are born with the nature of sin,in essence,it is natural for human to commit sin right from birth,it is necessary for you to go to Jesus to plead for Him to remove that sinful nature from you. But if you fail to, you will see your self committing sin frequently. You can not stop yourself from committing sin with your power, it is only Jesus that can help you.
So if you intend to live a righteous life,the first step you need to take is to;
(1) Get save; First, acknowledge you're a sinner, confess your sins and ask for forgiveness from Jesus, with a contrite heart. Make a promise never to go back to your sinful ways,pray earnestly, definetly God will speak to your heart. The evidence of salvation,is an unprecedented joy in your heart. Peace of mind. And when you're save, Jesus will dwell with you.
(2) Get sanctified; Very necessary. Your adamic nature must be uprooted,if not you will go back to your sinful ways. This prayer needs deeper consecration. Pray fervently, asking God to sanctify you, uproot the adamic nature. The evidence of Sanctification is, the interest to sin will not be there any longer. Your aim always is to please God. Your heart will be filled with the love of God.
(3) You need the Holy Spirit to guide you unto righteousness. To guide you alright. To remind you of the word of God. Pray for the Holy Spirit. Evidence is to speak in another language (speak in tongue) You need to be patience, sometimes it takes time to come.
After receiving your Christian experiences,don't relax. Read your bible to know the word of God,and pray consistently for God to help you to be righteous. Attend a church whose doctrine centers on salvation,and strive to attend weekly activities.