Words versus actions

In the New Testament book of James, the distinction between the importance of words versus that of actions is clearly seen. The entirety of the book contrasts the verbal acknowledgment of faith and the requisite actions that genuinely prove/demonstrate one’s faith. Why is that distinction so important?