וַיֹּ֧אמְרוּ ל֣וֹ עֲבָדָ֗יו יְבַקְשׁ֞וּ לַאדֹנִ֤י הַמֶּ֙לֶךְ֙ נַעֲרָ֣ה בְתוּלָ֔ה וְעָֽמְדָה֙ לִפְנֵ֣י הַמֶּ֔לֶךְ וּתְהִי־ל֖וֹ סֹכֶ֑נֶת וְשָׁכְבָ֣ה בְחֵיקֶ֔ךָ וְחַ֖ם לַאדֹנִ֥י הַמֶּֽלֶךְ׃
Da sprachen seine Diener zu ihm: Man suche dem König, unserm Herrn, ein jungfräuliches Mädchen, dass sie dem König aufwarte und ihm zur Pflegerin sei; sie liege auch an deinem Busen, dass es unserm Herrn, dem König, warm werde.
Ralbag
And be a companion unto him: This means - guard the treasury. And this would be the reason that she could come to lie in his bosom and the man would not feel it.
Rashi
A warmer. “A warmer,”4Koheles 10:9. and similarly, “and he who chops wood will be warmed [יסכן] by them.”5Alternatively, סכנת means that she should be “near” to him.—Targum