I will bless the Lord,.... As prayer, so thanksgiving belongs to Christ, as man and Mediator; see Mt 11:25; and here he determines to praise the Lord, and give thanks to him for counsel and instruction:who hath given me counsel; for though he himself is the Counsellor, with respect to his people, yet as man he received counsel from God, and the spirit of counsel rested on him, Isa 11:2; and fitted him for and directed him in the execution of his prophetic office; for the doctrine he taught was not his own, but his Father's; and he said nothing of himself but what his Father taught him, and instructed him to speak, Joh 6:16.
And he also gave him counsel about the execution of his priestly office, or about his sufferings and death, and drinking of the cup, which he, with submission to the divine will, desired might pass from him; but having advice in this matter, most cheerfully and courageously yielded to take it, see Mt 26:39;my reins also instruct me in the night seasons; when engaged in prayer to God, in which he sometimes continued a whole night together, Lu 6:12; and especially in that dark and dismal night in which he was betrayed, when it was the hour and power of darkness with his enemies; then, his inward parts being influenced by the spirit of wisdom and counsel, directed him how to behave and conduct himself.