Daniel 1:5qetsat
The king gave the young men a certain amount of food and wine every day, just like the food he ate. The young men were to be trained for three years, and then they would become servants of the king of Babylon.
NCV says “that at the end” here