Input (grade 13): The work was written with a serious practical purpose: to instruct the Jews not to worship the gods of the Babylonians, but to worship only the Lord.
Output (grade 10): Whoever the starter, the work was written with a purpose: to teach the Jews not to worship the gods of the Babylonians.