Knowing Truth from the Bible

Have not I written to thee excellent things in counsels and knowledge, That I might make thee know the certainty of the words of truth; that thou mightest answer the words of truth to them that send unto thee?

Proverbs 22:20-21

And hereby we do know that we know him, if we keep his commandments.

He that saith, I know him, and keepeth not his commandments, is a liar, and the truth is not in him.

I John 2:3-4

If any of you lack wisdom, let him ask of God, that giveth to all men liberally,

and upbraideth not; and it shall be given him.

James 1:5

Then said Jesus to those Jews which believed on him, If ye continue in my word, then are ye my disciples indeed;

And ye shall know the truth, and the truth shall make you free.

John 8:31-32