Hosea 9:10

New International Version Bible (NIV)
“When I found Israel,
    it was like finding grapes in the desert;
when I saw your ancestors,
    it was like seeing the early fruit on the fig tree.
But when they came to Baal Peor,
    they consecrated themselves to that shameful idol
    and became as vile as the thing they loved.

Read Hosea 9:10 in other translations