Counterpoint to company stock is, if the company has trouble, your stock is likely to plummet at the same time as you lose your job. Definitely go for discounted shares/options, but consider dumping them (ie, diversifying) as soon as you can.
I joined a hotel company a couple of years ago where they offered stock options, which is good and I appreciated it. But there were a lot of people that had worked there for decades just because they felt invested in the company. Meanwhile, working conditions were absolutely awful and the culture was the worst I’ve ever experienced. And I kept thinking how crazy it must have been during COVID as the stock tanked and everyone was staring down the barrel of layoffs. Like, if your employer is your entire retirement plan then you could be in huge trouble all at once.