God predetermined or predestined (planned since the beginning of time) the way in which we can live a godly life. He planned from the beginning how we could be saved from our sins, justified before God and conformed to the image of His Son (Romans 8:29,30).
This does not mean that He chose certain individuals from the beginning who would be saved, but that He designed a plan whereby we might be saved and conformed to the image of His son. This is what living a godly life is all about: we must be conformed to the image of Jesus and be like Him. So if we follow the example of Jesus and seek to be Christlike, we will be pursuing the godly life.
One thing is that Jesus was sinless. He lived life as we do in this world and was tempted as we are but did not commit one sin (Hebrews 4:15). We know that everyone else who has lived or is living has committed sin (Romans 3:23). How, then, are we to be Christlike?
This is what God has predestined, that we are able, because of Jesus giving His life on the cross, to have our sins remitted or forgiven as if we had never committed them. We do this when we follow the plan of salvation which God designed from the beginning (see above link “Plan of Salvation”). We must take these steps if we are to live a godly life and receive the benefits of serving God that the bible promises.
We must continue in Christ after baptism and when we do sin again we must avail ourselves of the blood of Christ again by confessing our sin in prayer. God is faithful and just and will forgive our sins when we confess and ask forgiveness as long as we do not continue in that sin (1 John 1:9).
So, we can be Christlike by conforming our lives to everything He would have us do as found in scripture, following the plan of salvation, and confessing of and repenting of our sins as we strive to serve God, through Christ. That is the only way to live a godly life in this modern-day. The children of Israel followed the Mosaic or old testament law, but we must follow the law of Christ as the old law has been done away with (Romans 8:2-4; Colossians 2:14).
Jesus said that the only way to the Father (God) was through Him (John 14:6). It is through Jesus and His sacrifice on the cross that we are able to approach God at all (Hebrews 4:14-16) and we cannot live a godly life any other way than I have described.
We must conform ourselves to the image of Christ (in a spiritual sense, not His physical attributes) by transforming our lives through bible study and application to our lives what we find in that study. This is how we may “live soberly, righteously, and godly, in this present world;” (Titus 2:12).
May God bless and keep you until next time.