This idiom comes from Song Chaobuzhi's "Ji Li Ji Zhu Beiting Fu": "Stay in Qin and die.
Analysis: During the Warring States Period, two big countries in Qin Chu were antagonistic, while other small countries tended to Qin and Chu for their own interests and security. Metaphor is capricious, uncertain or unstable. be half-hearted