The official way to use copyrighted music on YouTube is through YouTube Studio > Audio library. The audio library includes free music and sound effects, some of which don't even require attribution.
More specifically, do you curate a music library in the streaming era? For the past few years, I’ve lived entirely in YouTube Music’s Home feed and rarely visit the dedicated Library tab. At this ...