Not necessarily. If you want your lipstick to stay true to colour it’s good to use a lip liner that is at least in the same shade family as your lipstick (i.e. a peach lip liner with a coral lipstick).
If you don’t want to splurge on lip liners but still want to use one to help with precision and definition, just purchase a lip liner that matches the natural colour of your lips.