This method hides the apps you’ve purchased or downloaded for free from your App Store purchase list. While the apps will continue to show up in your Settings purchase history, they’ll no longer be visible in the App Store. This method doesn’t remove the app from your device or other devices. You’ll need to delete the app to remove it. Family members won’t be able to redownload the app through Family Sharing after hiding it. [2] X Research source
You can also clear the history on your iPhone and change your Apple ID password if needed.