Trusting in Hashem does not mean to sit back and wait for good things to happen. Yosef relied on the butler to intercede with Pharoah on his behalf. Being a Tzaddik he should have relied exclusively on G-d. But we, being less than Tzaddikim need both – trust in G-d as well as our own effort.