The game appeared in my library but i didn't bought it

Hi all
I have the game on disk and i didn’t bought it on ps store but today i found the game is in my library and i already can download it
And also it say “full game”
I really don’t know what is happening
Can someone explain this to me
Also i didn’t have any demo ot beta for the game
*ignore the downloading time my internet is trash