Be subject therefore unto God (υποταγητε ουν τω θεω). Second aorist (ingressive) passive imperative of υποτασσω, old verb, to range under (military term also). Same form in 1. Peter 2:23; 1. Peter 5:5. With the dative case θεω (unto God). The aorist has the note of urgency in the imperative. Note the ten aorist imperatives in verses James 4:7-10 (υποταγητε, αντιστητε, εγγισατε, καθαρισατε, αγνισατε, ταλαιπωρησατε, πενθησατε, κλαυσατε, μετατραπητω, ταπεινωθητε).
But resist the devil (αντιστητε δε τω διαβολω). Second aorist (ingressive) active (intransitive) imperative of ανθιστημ, "take a stand against." Dative case διαβολω. Result of such a stand is that the devil will flee (φευξετα, future middle of φευγω). See 1. Peter 5:8; Ephesians 6:11; Luke 10:17.