Quántǐ jiàngshì qíxīn xiélì, zhōngyú yíngdé le zhànyì.
All the officers and soldiers worked together in unity and finally won the battle.
Tips
register
将士 is a formal or literary term, common in historical texts, military communiques, and period dramas. In modern casual Chinese, people more typically say 军人 (soldier) or 官兵 (officers and soldiers).