The fundamental imperative about idolatry was that worship was not to be paid to any created thing such as a messenger, a planet, a star, one of the four elements, or to anything produced from them.
Treatise 4: Idolatry, H. Russell, trans. (1983), p. 74 - Mishneh Torah (c. 1180)