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.
If you love YouTube Music and want to make the most of it, consider getting a subscription. A YouTube Music subscription has many benefits, but you'll want to ensure you're getting your money's worth.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results