35 When the LORD made a covenant with the Israelites, he commanded them: “Do not worship any other gods or bow down to them, serve them or sacrifice to them.

Read 2 Kings 17:35 Using Other Translations

With whom the LORD had made a covenant, and charged them, saying, Ye shall not fear other gods, nor bow yourselves to them, nor serve them, nor sacrifice to them:
The LORD made a covenant with them and commanded them, "You shall not fear other gods or bow yourselves to them or serve them or sacrifice to them,
For the LORD had made a covenant with the descendants of Jacob and commanded them: “Do not worship any other gods or bow before them or serve them or offer sacrifices to them.