Hi Jyea8,
Welcome to the Apple Community.
It's great you have tried several things to solve the problem!
Wondering which Mac OS is installed on your MacBook Air, could your system need updating to the latest Mac OS ?
and
if you are using Safari, have you tried to access the Internet via another browser (eg Firefox, etc)..
Does your Mac have enough memory / storage space free (at least 50Gb) for your Mac to operate smoothly ?
Is it possible that third party (non-Apple) software (unneecessary Anti-virus, Add-blockers etc.) be interfering with the operating system of your Mac. If so, try again, after turning them off, or use an uninstaller from the developer.
Apple support have a couple of articles online that may help troubleshoot.
Connect to the internet with your Mac.
https://support.apple.com/en-au/HT201735
If your Mac doesn't connect to the Internet over Wi-Fi. (Did you run "Diagnostics" or "Wireless Diagnostics ?)
https://support.apple.com/en-us/HT202663
See used and available storage space on your Mac
(NB: Choose your Mac OS at the top of the page, for accurate info.)
https://support.apple.com/en-au/guide/system-information/syspf9b375b9/11.0/mac/11.0
If you still need help:
Sorry I'm no expert. We are all Apple users, like yourself, volunteering our time to help troubleshoot.
However, with a few more answers available, some of the experts who volunteer may choose to help.
Alternatively:
There is a "Get Support link to Apple at top right on this discussion page.
OR
You might want to take your Mac to an Apple Store near you:
A Genius Bar reservation is recommended:
Genius Bar Reservation and Apple Support Options - Apple
OR
See a list of Apple phone numbers around the world.
https://support.apple.com/en-us/HT201232
All the best :-)