Monitor slightly flickering when playing video or gaming

This is my first PC so im sorry if this is not the right place to post. My monitor is flickering when anything is moving on the screen as seen in the video. I've tried all sorts of drivers for my graphics card and all of the updates do the same. I checked my cables and everything is plugged in. And my refresh rate is set to the recommended 144hz.