Before we can really trust someone you have to know them. Daniel here shows his knowledge and trust of God, Jesus tells us to take His yoke upon us and learn of Him. The way to do this is by studying His word, being a doer of it, and praying to Him consistently. As the relationship grows the intimacy develops to that of friendship to close confidant. He begins to lead and guide you by the prompting of His spirit.