What does Joshua 7:12 mean?
Because of this, Israel can’t stand up to their enemies. They turn and run because they’ve made themselves guilty. I won’t be with you anymore unless you get rid of what was stolen. Joshua 7:12 - Modern Text Bible
(God explains that the people's defeat is a direct result of their disobedience. His presence and protection are conditional on their faithfulness.)