Why does Wonder Woman have a lasso that forces people to tell the truth?

Wonder Woman was created by the psychologist who also invented the lie detector:
William Moulton Marston. It was natural for him to give her the superhero
version of the lie detector. Moulton was convinced, by the way, that women were
more honest and reliable than men.