That is the Facebook official narrative, that their system was built for “friends”. Except that Facebook is not the only social network and even if you consider Facebook the official narrative is not history.
The largest social networks of today are, in no particular order, Facebook, Youtube, Twitter and Instagram. The latter three are built under the premise that users want to share with the whole world.
Facebook gained traction around 2006. At the time, the cool thing to do was to run a blog. Remember blogs? The idea was to share with the whole world. Facebook and all the other social networks are actually little more than a massive collection of cross-linked blogs. I don’t think this is by chance but by design. Certainly they could not have ignored that blogs were the thing when they started to refine their system, back then around 2006.