Buy PS4 games in the store - what if there's not enough space?

Re
- in PlayStation
2

I wanted to ask how it is with the games from the PS4 store. Let's say I bought a lot of games there and now I have to delete a few games I bought to get enough space on the PS4. Do I then lose the games I bought forever and have to buy them again later if I want to play / download them again? Because a PS4 does not have an infinite amount of storage space, and if you only buy games from the store, then there has to be a solution?

sa

When you buy a game in the PS store, they are automatically in your library. You can now simply delete games that you no longer need and simply download them later from the store or from the library.

sa

But if you lose your account you will lose all the games you bought with it!