Thank you for contacting Apple Support Communities. Based on what you stated, it seems like you want to know if clearing play history deletes your purchases. I would recommend you read this article, purchase history is different than play history.
On an Apple TV
When you listen to music on Apple TV, you don't download it to the device. Find past purchases to play using these steps:
- From the Home screen, choose Music or My Music.
- Find the song, album, or music video that you want to listen to or watch.
- Select Play.
Cheers.