Lagging in Frequent Games with High Ping (1k+) but Internet Works Perfectly Fine with Fast Internet

Some games I lagg heavily, like i start the game and suddenly i have 1k ping, i try disconnecting and reconnecting to the wifi and it still is very high ping, so i checked if anyone in my house is watching YouTube, watching series or downloading anything but couldn't find anyone that did. So i checked on to check my wifi speed and its 40mb/s + and thats good for me. I tried turning off my router, but nothing happens. I play 1 or 2 games normally, then the next game i play i lagg really heavy to the point where i cannot comment or buy or move. Is it from Riot or what? Thanks,
Report as:
Offensive Spam Harassment Incorrect Board