The Bible teaches both.
It is the blind who refuse to see there is more than just one side of the ages old predestination/ free will argument.
Proverbs 3:5-9
Proverbs 3:5ff is not a verse that overrides the clear teachings of Christ Jesus and our teacher the Holy Spirit in the Epistles. It is incorrect usage of Proverbs 3:5ff to be invoked in order to override other clear teachings in the New Testament. Besides, Proverbs was written to the Jews for a completely purpose in which everybody today understands Proverbs. One day I will post those truths for all to see once my book is complete.
If Christ teaches us in Ephesians 1:4 "According as he hath chosen us in him before the foundation of the world...". Then we are not to utilize or invoke Proverbs 3:5ff to override these clear teachings.