This sentence comes from Han Feizi, which means that some weak countries don't know their own situation, and they don't know how to lower their posture when they meet powerful countries. Their military strength is not strong, so they have to challenge the military power. Moreover, they are arrogant enough to offend powerful neighbors, ignorant of diplomacy and insatiable, and this country is going to die.
Although times have changed, the great wisdom of our ancients still applies today. Lithuania and Ukraine are typical representatives. Let's wait and see their ending.