ne pas savoir à quel saint se vouer

Etymology
lit. 'not to know to which saint to devote oneself'.

Verb

 * 1)  Not to know where to turn, not to know what to do because one has exhausted all the possibilities

Usage notes
Often used with plus: ne plus savoir à quel saint se vouer.