4. Given a linear function $y=k x-k$. If $y$ decreases as $x$ decreases, then the graph of the function passes through ().
(A) the first, second, and third quadrants
(B) the first, second, and fourth quadrants
(C) the first, third, and fourth quadrants
(D) the second, third, and fourth quadrants
4. (C)

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.