How did people know stars were stars before 17th century?

Telescope was invented in early 17th century.

So how could people even know stars were stars before 17th century. Can someone explain this to me?

Venus and Jupiter looks like Stars to the naked eye too. However, the brighter than any stars.
How did people know stars were stars before 17th century?
Post Opinion