A devotee must try his best to serve the purpose of Krishna.
Sometimes one must act duplicitously in a dangerous position, as Vasudeva did to save his wife. The material world is complicated, and to execute one’s duties, one cannot avoid adopting such diplomacy. Vasudeva did everything possible to save his wife for the sake of begetting Kṛṣṇa. This indicates that one may act duplicitously for the purpose of saving Kṛṣṇa and His interests. According to the arrangement already foretold, Kṛṣṇa was to appear through Vasudeva and Devakī to kill Kaṁsa. Vasudeva, therefore, had to do everything to save the situation. Although all the events were prearranged by Kṛṣṇa, a devotee must try his best to serve the purpose of Kṛṣṇa. Kṛṣṇa Himself is all-powerful, but it is not that a devotee should therefore sit idly and leave everything to Him. This instruction is also found in Bhagavad-gītā. Although Kṛṣṇa was doing everything for Arjuna, Arjuna never sat down idly as a nonviolent gentleman. Rather, he tried his best to fight the battle and be victorious.
Source:A.C. Bhaktivedanta Swami Prabhupada (2014 edition), “Srimad Bhagavatam”, Tenth Canto, Chapter 01 – Text 53