Like it or not, LinkedIn is still by far the most used platform by recruiters (agency and internal) looking to hire. I despise the platform but it's undeniably valuable as your career progresses and the probability of being approached by a recruiter increases.
Ultimately, if you're not looking for work, there's zero value in LinkedIn. Realistically, most people choose or need to look for a new job eventually and in that scenario, LinkedIn is by far the most effective platform to increase your odds on finding a new job.