Deuteronomy 20:5-9

5 Then the officials shall address the troops, saying, "Has anyone built a new house but not dedicated it? He should go back to his house, or he might die in the battle and another dedicate it.
6 Has anyone planted a vineyard but not yet enjoyed its fruit? He should go back to his house, or he might die in the battle and another be first to enjoy its fruit.
7 Has anyone become engaged to a woman but not yet married her? He should go back to his house, or he might die in the battle and another marry her."
8 The officials shall continue to address the troops, saying, "Is anyone afraid or disheartened? He should go back to his house, or he might cause the heart of his comrades to melt like his own."
9 When the officials have finished addressing the troops, then the commanders shall take charge of them.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.