#What did Yahweh tell Moses would happen to the people when Yahweh hid his face from them?

Yahweh told Moses that many disasters and troubles would find the people and he would hide his face from them because they turned to other gods. [31:17-18]