And He is before all things, and by Him all things consist. – Colossians 1:17
From all eternity, Christ was the Counsellor of His Father with regard to providence…Was it not the Most High who divided to the nations their inheritance? Hath He not appointed the bounds of our habitation? Oh! heir of heaven, in the day of the great council Christ counselled His Father as to the weight of thy trials, as to the number of thy mercies, if they be numerable, and as to the time, the way, and the means whereby thou shouldst be brought to Himself. Remember, there is nothing that happens in your daily life, but what was first of all devised in eternity, and counselled by Jesus Christ for your good and in your behalf; that all things might work together for your lasting benefit and profit. But, my friends, what unfathomable depths of wisdom must have been involved, when God consulted with Himself with regard to the great book of providence!..Ah! Jacob, the Lord is about to provide for thee in Egypt, when there is a famine in Canaan, and He is about to make thy son Joseph great and mighty. Joseph must be sold for a slave; he must be accused wrongfully, he must be put into the pit, and in the round-house prison he must suffer. But God was going straight to His purpose all the while: He was sending Joseph before them into Egypt that they might be provided for, and when the good old patriarch said, “All these things are against me,” he did not perceive the providence of God, for there was not a solitary thing in the whole list that was against him, but everything was ruled for his weal. Let us learn to leave providence in the hand of the Counsellor, let us rest assured that He is too wise to err in His predestination, and too good to be unkind, and that in the council of eternity, the best was ordained that could have been ordained. ~ C.H. Spurgeon
https://www.blueletterbible.org/Comm/spurgeon_charles/sermons/0215.cfm