It means he let them go worship other gods. Since they wanted to worship other gods, He let them follow the statues of those religions to demonstrate what folly they actually were....it was an issue of the "grass is always greener."
But if we walk in the light, as He is in the light, we have fellowship with one another, and the blood of Jesus, His Son, purifies us from all sin.