The blessing of Joseph life throughout was that the Lord was with him.
The Spirit of the Lord speaks to the churches for doctrine, reproof, correction and instruction in righteousness.
Joshua's exhortation and blessing puts forth at least four imperatives for a continued walk the the Lord.
God, in His providence uses all things to fulfill His divine purpose for His glory and for our good.