Its a pretty common failure in the 97+ window regulator. They use to make a kit to fix it. Looks like amazon has it for $50. You might be able to find a replacement regulator for cheaper. Mine been making a similar noise for over a year now, I've just been careful when rolling it up and down.
https://www.amazon.com/Steiger-Performance-Regulator-1997-2001-Cherokee/dp/B07FYPHGH2
And older how to fix video https://www.youtube.com/watch?v=g6jMgxvQOxY