Wiktionary
keep it between the ditches
vb. (context idiomatic English) To stay out of trouble or follow a righteous (God-fearing) path.