No, your associations don't necessarily determine your destination. Jesus associated with sinners.
Wisdom is easily obtainable from God.
(James 1:5 NIV) If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him.
Read your Bible. Study it. Let the Holy Spirit teach you.