You could look at the Bible as a coming of Age story, not for the Israelite's but for God.
God is the Israelite's warrior, defending them, protecting them. (That's the youthful God), powerful, quick to anger, wrathful, almost kills Moses for not having a circumcised child.
Then you have God as the husband to Israel and Judah. They are unfaithful, and God lets them be unfaithful until their lovers mistreat them to which they return to God, who does not shut them out but takes them back in.
Then you have God the father, the one spoken of in the NT, this God cares and loves greatly (you see glimpses of such a God in the psalms), but unlike the Husband, this God is now a father, Israel is no longer considered a wife, but children, who when they turn against God are being punished by a loving father. Except now God has more than one kid, God has the world.