This could mean ‘admit to God what you have done wrong.’
God will give you spiritual strength to refuse to sin.