The Old Testament is a monotheistically rebranded Epic of Gilgamesh. A lot of the themes were borrowed adapted and rebranded from there and other literature are the time. Even the monotheistic Jewish God Yahweh takes on the title of the supreme God in the Canaanite pantheon (El).
The Old Testament is a time capsule from 5000 years ago. There are some general concepts that can apply to a modern moral life but if you tried to follow everything it says in life today, it would be problematic.
The clear message in the Old Testament is one of God as the absolute and final authority. Its very clear that the message is one to keep people in check. Theres often bending of the rules and some degree of favoritism towards God's chosen ones. Does not give off an egalitarian vibe but religion is generally not meant for that. Its generally meant to reinforce hierarchical structures (and to get people to accept them even if they are the lowest rung on the ladder out of fear of God).