I purchased the phone online and it had been factory reset unfortunately I cannot contact the owner and I need to bypass the FRP but the phone was reset while in airplane mode
That's too bad. If you bought it through an online marketplace like eBay, check with them, since they often have significant protections for buyers. If it was just a private transaction, then I'm afraid you're out of luck. Caveat emptor!:-\