1 Samuel 1:28

28 therefore I also have granted him to Yahweh; as long as he lives he is granted to Yahweh. And he worshiped Yahweh there.