Sirach 39:6

6 When the great Lord will, he shall be filled with the spirit of understanding: he shall pour out wise sentences, and give thanks unto the Lord in his prayer.

Sirach 39:6 In-Context

4 He shall serve among great men, and appear before princes: he will travel through strange countries; for he hath tried the good and the evil among men.
5 He will give his heart to resort early to the Lord that made him, and will pray before the most High, and will open his mouth in prayer, and make supplication for his sins.
6 When the great Lord will, he shall be filled with the spirit of understanding: he shall pour out wise sentences, and give thanks unto the Lord in his prayer.
7 He shall direct his counsel and knowledge, and in his secrets shall he meditate.
8 He shall shew forth that which he hath learned, and shall glory in the law of the covenant of the Lord.

The Brenton translation of the Septuagint is in the public domain.