So Jephthah passed over to the children of Ammon to fight against them; and Yahweh delivered them into his hand.
Compare Gideon’s similar response to the gift of God’s Spirit. The masculine gender of the Hebrew word translated "whatever" can apply to a person or an animal, but Jephthah was probably thinking of an animal.