During the late years of the Qi Dynasty(221-206BC), Xiang Yu led a rebellion1. After crossing the Zhang River, Xiang Yu ordered his men to sink all their boats and break their cooking pots. He issued each soldier three days' rations2(给养) and warned them that there was no way to retreat3; the only thing they could do to survive was to advance and fight. After mine fierce battles, the Qin army was finally defeated.
This idiom is used to indicate one's firm determination to achieve one's goal at any cost.