27:5 Five years old - At which age they might be vowed by their parents, as appears from 1Sam 1:11 - 28, tho' not by themselves; and the children were obliged by their parents vow, which is not strange considering the parents right to dispose of their children so far as is not contrary to the mind of God.
27:1-13 Zeal for the service of God disposed the Israelites, on some occasions, to dedicate themselves or their children to the service of the Lord, in his house for life. Some persons who thus dedicated themselves might be employed as assistants; in general they were to be redeemed for a value. It is good to be zealously affected and liberally disposed for the Lord's service; but the matter should be well weighed, and prudence should direct as to what we do; else rash vows and hesitation in doing them will dishonour God, and trouble our own minds.