Mallanaga Vātsyāyana said this quote

A person acquainted with the true principles of this science, who preserves his Dharma (virtue or religious merit), his Artha (worldly wealth) and his Kama (pleasure or sensual gratification), and who has regard to the customs of the people, is sure to obtain the mastery over his senses. In short, an intelligent and knowing person attending to Dharma and Artha and also to Kama, without becoming the slave of his passions, will obtain success in everything that he may do.