Verses 1-4 - the purity of the camp
Verses 5-10 - restitution for wrongs
Verses 11-31 - the test for an unfaithful wife