These two passages seem to be connected.

Proverbs 16:1 and James 4:12-15