It would be good for those in Taiwan to study the Anglo-Dutch war of 1672. Taiwan is about the same size as the Netherlands and was bordered by much larger empires. France and England and two German states had made a treaty to attack and conquer the Netherlands and eliminate the Dutch State in this war. The Netherlands was politically divided and was a republic at a time when most states were monarchies.
The Dutch did not give up. They took drastic steps to protect their freedom and independence against overwhelming odds and they prevailed.