When we are submitted to God, He gives us the wisdom to decide what to do. We flee in the face of sexual temptation (like Joseph), or we resist (like the three Hebrew men who resisted the order to bow down to an idol because it was wrong). Joseph both resisted and fled the advances of Potiphar’s wife. When we submit to God, we acknowledge that we need Him and we walk in the ways that please Him and that is the way we resist the devil. Submission to God is walking in his ways; rebellion against God gives the enemy leeway to have a foothold in our lives.  We start resisting the enemy in our minds because that is where the battle starts. When it comes to fleeing, this is when an issue is physical.  We run when we are being tempted to sin; we resist when we are being attacked.