The problem with VGA cables is that they don't carry sound, so you'll also need an audio cable if you want to hear the sounds your computer makes. Also, check your TV to make sure it has VGA ports.
Old-school Macintosh-to-VGA adapter. Just solve for X, set the right DIP switches and you’re golden. If you’re the happy owner of a vintage Apple system like a 1989 Macintosh IIci you may know ...