21 And when he had taken counsel with the people, he appointed them that should sing unto the LORD, and praise the beauty of holiness, as they went out before the army, and say, Give thanks unto the LORD; for his mercy endureth for ever. 22 And when they began to sing and to praise, the LORD set liers in wait against the children of Ammon, Moab, and mount Seir, which were come against Judah; and they were smitten.