Original: Whoever the author, 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.
Simplified: Whoever the starter, the work was written with a purpose: to teach the Jews not to worship the gods of the Babylonians.