Good day zeebeexx12,
We understand that music downloaded using your Apple Music subscription for offline use is being removed from your device.
Let’s begin by making sure your iPhone is running iOS 15.2. Your profile indicates we’re working with an iPhone 11 Pro Max and that is the latest iOS. You can verify in Settings > General > About. If an update is needed, please be sure to make a backup first.
How to back up your iPhone, iPad, and iPod touch
You had mentioned that you cleared up some space on your iPhone. How much storage is available on your device? That’s visible in Settings > General > iPhone Storage.
Thanks.