Maybe it's movies and TV, where a "close friend" is more or less a non judgemental therapist that will throw down in a fight for you.
What is a close friend? Before we can start asking people if they have any we should probably agree on a definition. If you use the Hollywood standard, then probably none of us have close friends.
In my experience, most friends come and go. That's OK. People change. Circumstances change. One person is always putting in more effort than the other. Some friends will always be aloof. Some friends will pretend they are independent and don't need friendship "like everyone else does," but they're generally full of it. Some friends will seem clingy.
Just roll with it.
The other challenge is finding people, especially as you get older. I've posted this before, but as you get older you really need to seek out established communities. Sports, trivia nights, things of that nature. Something where you can hop in and immediately meet 5+ people. Then you need to show up, over and over. That's how friendships form.
At that point, it's on you. People are out there and in my experience they are excited to meet new folks.
We can write a huge dissertation on why we think The Friendship Recession has happened, but it's quite simple. Inertia is human nature. It takes effort to learn something new and join a community where people are practicing that thing. It takes vulnerability and effort. It's kinda scary.
It's a lot harder than turning on YouTube or flipping through TikTok. And most people understandably don't want to do hard things, especially after the stresses of work and life.