Says I need to buy Overwatch again

I have had a physical copy of Overwatch for almost two years on my Blizzard account and I went to go play it but when I load into the menu it tells me to log in and every time I try to log in it tells me that I have to buy the game again or that I haven’t purchased it but on my account it says I own it. I don’t know what to do. Please help.