Hi hardev singh
I understand you can’t find emails older than 5 years in your Hotmail/Outlook.com mailbox.
If you haven’t signed in to your Outlook.com mailbox at least once in a one‑year period, Microsoft can close the mailbox and delete all email; and you must sign in to your Microsoft account at least once every two years to keep the account active. If there was a long period of inactivity years ago, those older emails may no longer exist to recover.
See: Microsoft account activity policy - Microsoft Support
If the emails are 5+ years old and were deleted long ago, they won’t be recoverable.
If at any point you used classic Outlook and exported/archived mail to a .pst file, those messages would be stored locally and won’t appear in Outlook.com unless imported back into a mailbox. Check any old computer/drive/backup for a .pst that contains your historical mail.
I know this is not the outcome you wanted. Thank you for your understanding and time.