Agreed in so far that the Bible makes every effort to tell people to not sin. So, yes, do not walk in the flesh but walk in the Spirit. (Galatians 5:16-25)
I would elaborate on that warning in Matthew 7:22 using the qualifier "never." So it's dependent on whether or not Jesus ever knew someone. I think it separates those who have book smarts about Jesus from those who sincerely believe in him in their heart. Those who pay lip service only from those who draw near with their heart. Those who practice works-salvation from those justified by faith.
It is possible to be genuinely saved and to also be educated. When God saved me, the first thing he told me was to read my Bible. I quickly developed the habit of reading from the OT and NT, which I still do, 40 years later. I also read the Bible in other languages, like French and German, and also in Koine Greek and Biblical Hebrew. After 25 years of that, I was still hungry to know more of Christ, and God called me to seminary. After I finished my MDiv, I took a break because my RA had gotten worse, then started my PhD in theology. At first it was very hard to understand. But now it is a constant joy to read my Bible, and to learn about God, as well as walking with him.
My entire relationship with God is based on him, not me. But what a marvellous gift God gave me when he called me to higher learning. God commands us to walk in his ways, and learning is part of that.
I don't know why people are so anti-education. Yes, there are bad seminaries. But there are also many Bible centred seminaries and theological institutes. It's easy to figure out which is which.
There was a man in my seminary, who also came from my city. We had to drive 3 1/2 hours one way to get there. He went to a church that was a stone's throw from his
Denomination's seminary, and supported that seminary. When I asked him why he didn't go there, he had a long list of biblical principles that seminary didn't believe in. He decided he was going to join my Baptist denomination that ran the seminary, far away. I will say, I took a few transfer courses and they were excellent. The world religions prof was a visiting professor, with a PhD in anthropology. Normally, he was a missionary in Malaysia. He ministers to tribal head hunters, and most of them came to Christ. He also had a ministry to Muslims, and had very interesting stories about how God led the Muslims to Christ. I guess you have to be very dedicated to be an evangelist and reach the people he did.
Which is to say, don't put down education. There are many educated people with a real passion to know and serve God. If God didn't call you, of course you should not go! All I know is that God called me, and I have grown so much stronger in my faith. And it was never weak, in the first place, after the miracle God did, saving me.
"Study to show yourself approved unto God, a worker that need not to be ashamed, rightly dividing the word of truth." 2 Tim 2:15