“O wretched man that I am! Who will deliver me from this body of death? I thank God—through Jesus Christ our Lord! So then, with the mind I myself serve the law of God, but with the flesh the law of sin.” Romans 7:24-25

When you see yourself for who you really are it makes you sick and desperate to find something better. You understand in your heart that your earthly body is separated from the purity of God regardless of how hard you try to do good. You are sold under sin with no way to get out. Your future is hopeless.
You find out the spiritual values you cherish and your desire to live a godly life are impossible. You try hard to do good and fill your mind with biblical truths but you keep falling into sin and fail God.
There is an answer to this dilemma! Stop trying to please God or do things for Him. You have to worship God in Spirit and Truth and He has provided a way for you to live a godly life.
As a believer, the law of the Spirit of life in Christ Jesus lives in you and He is greater than all sin. The Holy Spirit will set you free from sin and purify your life. You have the life of Jesus living in you and He wants to share Himself with you.
Serve God by becoming yoked to His Spirit dwelling inside you. Worship God with praise, study His Word, and seek Him out for all your needs. Take time to be still and listen for His voice. Learn to be obedient to the leading of His Spirit.
This is the only method to live a holy life. Your works have no value to God and your earthly mind and fleshly emotions will always lead you astray.
The only way you can escape the law of sin leading to death is through the person of Jesus Christ. He is looking for your faith in Him. This is how you can please Him and lead a godly life.
Abide in God and He will abide in you!