If the PS4 supports USB audio, then the cable at
https://forums.macrumors.com/threads/combination-ps4-and-xdr-display.2217347/post-29266811 should be all that you need. Then change the audio output device in the PS4 menu to the LG display.
If the PS4 supports USB audio, but doesn't have an option to output audio to the LG display, then it means the PS4 has crappy drivers.
If the PS4 does not support USB audio, then you need to output the audio from the PS4 to a computer, and have the computer output the audio to the LG display using the USB connector of the HDMI+USB to USB-C cable.