For whatever reason, many of the editors mentioned here never worked for me … like OpenShot, ShotCut or PiTiVi were really unstable the last time I tried (might be a distro or DE thing). Also I found it hard to cut precisely when they worked. Lightworks, Da Vinci, Cinelerra, I had a hard time getting them to run. Maybe that changed in the meantime.
I ultimately stuck with Kdenlive, which is stable enough and allows for reasonably precise cutting.
I feel like people mistake YouTube for a video hosting solution.
But that’s not the point.
So, if the only thing you’re looking for is a video hosting solution, then, yes, PeerTube might be an alternative. In the same way uploading videos to your own webspace would be, and Vimeo also still exists.
But for all the other stuff, YT is, unfortunately, unmatched, and probably will be for a while …