"Between the devil and the deep blue sea" is an idiom that means 'having to choose between two undesirable situations.'
Hence, the correct option is B.