Psalms 106:35 (KJV)

But were mingled among the heathen, and learned their works.