In this article, we will explore regularized (penalized) regression methods that help prevent overfitting and address issues such as multicollinearity, which can make $X^TX$ ill-conditioned or even non-invertible.
OLS Limitations:
As mentioned in this article