Bad CSGO FPS on new Gaming PC


I recently built a new pc and started playing csgo. However, I only get between 20-40 fps when benchmark says i should be getting 240ish. I’ve tried everything to fix it (uninstall/reinstall, messing with various launch options, settings cpu priority to high, all low settings in-game, updated GPU drivers, etc.) but nothing works. I can run other games like fortnite and warzone well (144fps and 70fps, respectively). My specs are Sapphire Radeon RX5600XT, AMD Ryzen 5 3600 (if you need additional information I can provide it). Any possible solutions would be much appreciated.