Psalms 106:28

And they cried out to the Lord in their tribulation, and he led them out of their distress

Other versions

King James Version

They joined themselves also unto Baalpeor, and ate the sacrifices of the dead.

English Standard Version

Then they yoked themselves to the Baal of Peor, and ate sacrifices offered to the dead;

New International Version

They yoked themselves to the Baal of Peor and ate sacrifices offered to lifeless gods;