Spirit and Opportunity lasted for much longer (6 and 14 years, respectively), aided by periodic winds that blew dust off the solar panels. It appears that Insight's location doesn't receive many of these compared to others.
https://www.sciencealert.com/nasa-s-insight-lander-enters-hi...