Is it ok to quote what Job's friends say about God and His character?
The words found in Job (or any book of the Bible) are scripture, meaning they are inspired by the Lord:
Therefore, we do not sin when we repeat or quote words of scripture. On the contrary, we are honoring God by meditating on His word:
Of course, proper use of scripture requires that we keep any quote in its context so that it can be understood as God intended. In the case of Job's counselors, we may reference their words as example of the foolish things the ungodly will say about God.