Luke 3:14 Likewise the soldiers asked him, saying, “And what shall we do?” So he said to them, “Do not intimidate anyone or accuse falsely, and be content with your wages.”
It is God who knows what you do when others are not watching. It is God who knows what is going on inside your head. It is God who knows what is in your heart.
If you do want to get things right with God then you have to be honest and admit what you do get up to so that you can move forward with Him from that point onward.
We all have our ups and downs, but God wants to support us so that we have more ups than downs; so that we are encouraged to do more with Him and live more with Him instead of working against Him.