1Ki 8:44-45
Finally, in 1Ki 8:44-50 Solomon also asks, that when prayers are directed towards the temple by those who are far away both from Jerusalem and the temple, they may be heard. The sixth case, in 1Ki 8:44, 1Ki 8:45, is, if Israel should be engaged in war with an enemy by the appointment of God; and the seventh, in 1Ki 8:46-50, is, if it should be carried away by enemies on account of its sins.
By the expression in 1Ki 8:44, “in the way which Thou sendest them,” the war is described as one undertaken by the direction of God, whether wages against an enemy who has invaded the land, or outside the land of Canaan for the chastisement of the heathen dwelling around them. “And shall pray וגו העיר דּרך:” i.e., in the direction towards the chosen city and the temple, namely, in faith in the actual presence of the covenant God in the temple. יהוה אל, “to Jehovah,” instead of “to Thee,” is probably introduced for the sake of greater clearness. משׁפּטם ועשׂית, and secure them justice (cf. Deu 10:18; Psa 9:5, etc.).