He only orders you evil and immodesty, and that you allege about Allah what you do not know. (45)
(45) 45. The previous verses refuted beliefs held by the mushrikin; the present verses take up the ill effects of some of their pagan practices.
One of these was to release animals dedicated to their idols, whom they treated as sacred, refusing to derive any benefit from them. They took it to be unlawful. Straying further on, they even took this act of theirs as obedience of the divine will, a source of pleasing their Creator through the intercession of their idols.
It is in this background that Allah Almighty has given the right guidance in the present verse. Eating or using what Allah has provided on this earth - all that is good, pure and permissible - is the best rule. Avoiding something permissible on the assumption that doing so will please Allah is a Satanic thought. So, 'do not follow in the footsteps of Satan' who is an open enemy and what can you hope from an enemy but that he would keep pushing you towards the evil and the immodest, and that you attribute to Allah something for which you have no authority.