in the lap of the gods (of the success of a plan or event) open to chance; depending on factors that you cannot control.
☞ This expression comes from one used in several passages in the works of the Greek epic poet Homer. The original Greek refers to the 'knees' of the gods, possibly because suppliants laid gifts on the knees of those who were sitting in judgement upon them.