You likely want an app (sideloaded via IPA) that lets you to your iPhone/iPad for offline viewing, without paying for YouTube Premium.
If the risk of sideloading IPAs seems too high, there are stable alternatives that offer similar benefits: youtube 121 ipa download hot
However, Apple and Google have been working to crack down on these modified apps, citing intellectual property and security concerns. As a result, many websites offering IPA files have been shut down, and users have been warned about the risks of installing unauthorized apps. You likely want an app (sideloaded via IPA)