No. Imaginary ones don't soften hearts. Imaginary ones don't reveal truths. Imaginary ones don't imbue reality with their attributes. Imaginary ones don't provide reality to all parts and places at all times.So imaginary gods are just as valuable as "real ones".
Have you actually read the bible? the Bible blamed just about every setback Israel suffered to Yahweh being angry about something.
I have read the Bible which is why I disagree with your assessment. Try googling "did ancient Israelites craft narratives of historical events to teach lesson about the covenant, obedience, justice and their relationship with God?"