When Windows 10 was first released, the offer for a free upgrade was available, but it ended on July 29, 2016.
For your reference:
You can purchase and download Windows 10 on your device.
Although, if your computer is more than three years old, it might be time to consider upgrading to a new device.
Hope above information can help you.
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.