FYI
Found this in a review
The LG 38WN95C-W has an outstanding refresh rate. It has native FreeSync support, and it's certified by NVIDIA to be G-SYNC compatible too. You can achieve the 144Hz refresh rate and get G-SYNC support only over a DisplayPort connection. Over HDMI, the VRR range is limited to 48-75Hz, and it only supports FreeSync.
So maybe get a Thunderbolt (USB C) to display port cable capable of doing it if you want 144Hz but I think you will lose the use of the USB ports on the back if you do (I think). Plus not sure if this is possible on M1 mac