TV has coax digital audio out. Check the TV manual on how to configure it in the TV audio menu.
Soundbar has optical digital audio in.
You need to convert one to the other. https://www.amazon.com/C2G-40018-Coaxial-Optical-Converter/dp/B0002J2MV4
These only work in one direction so an optical to coax converter won't work for you.
You also need an optical audio and a coax digital audio cable. Most composite video cables will work for coax digital.
TV has coax digital audio out. Check the TV manual on how to configure it in the TV audio menu.
Soundbar has optical digital audio in.
You need to convert one to the other. https://www.amazon.com/C2G-40018-Coaxial-Optical-Converter/dp/B0002J2MV4
These only work in one direction so an optical to coax converter won't work for you.
You also need an optical audio and a coax digital audio cable. Most composite video cables will work for coax digital.