Allah Most High also says:
“We certainly sent a messenger to every nation, saying: ‘Worship Allah and shun false objects of worship.’”
Allah Most High also says:
“They were commanded only to worship Allah, devoting their religion sincerely to Him and inclining to the truth,” to the end of the verse.
Allah Most High also says:
“So set your face toward the religion, inclining to the truth. Adhere to the natural disposition upon which Allah created mankind. There is no changing Allah’s creation. That is the upright religion, but most people do not know. Turn to Him in repentance, fear Him, establish prayer, and do not be among those who associate partners with Him—those who divided their religion and became sects, each faction rejoicing in what it has.”
And Allah, glorified and exalted, knows best.