Should I update my graphics card and RAM?

You mean the one you’ve now?
Take a look at this…

Your RTX 3070 is indeed to weak for 4k when combined with your i7-11700k
But, lowering the resolution to 1440p would help a lot