The Hindu scriptures have many stories about Vishvamitra. One of them tell about the competition between another rishi named Vashistha. Both wanted to become priests of big royal families of ancient India.