You didn't state what you have for CPU and GPU. When I game I turn off any processes that are not needed.Updaters and etc through task manager.Also often check your start up apps and turn off the ones you don't need at startup.And IDK if discord and a browser take a lot of resources,but it does take SOME resources. Also you can try different settings inside the game too of course. I actually turned ( I think)anti aliasing off in a game and it played AND looked better.Sometimes there's not much difference between ultra and high settings but it'll chew up a lot more GPU power.
Of course if you have an i9 and a 3090 I don't think you need to worry about it.