In Exodus 19 we see that god makes an invitation to relationship before the 10 Commandments are given