Unless YOUR Apple-ID has a copy of that software on its "Purchases" page, it is not available to YOUR Apple_ID. It si no longer available as new, unless you have a Mac that cannot run the latest MacOS, Sierra.
The copy you were running before erasing was on your dad's Purchases page, so it is only available to him.
tjk posted the link to an article on what to do when you sell or give away your Mac. That should point you in the right direction. You may not need to do literally everything there, but it will give you the right idea.