Good insight: so in a sense their worship was self-serving.We see in the Old Testament that people worshiped various gods. But why did they do this? there has to be some reason why so many people did this.
Here is a guess of mine.
We see cases of famine in the Old Testament. If they were starving, then they were having problems with infertile soil. Of course.
I believe that the most revered gods were the goddesses of fertility and agriculture, because they represented the main problems they had.
They believed that the goddess of agriculture would bless them with fertile soil and that the goddess of fertility would bless the women with milk for the baby. It was prolonged breastfeeding that helped to decrease infant mortality.
I wish the idols in my life were as obvious as some ostensibly external "goddess of fertility."