And now, O sons, listen to me, and do not depart from the words of my mouth.
Proverbs 5:7
The key to avoiding falling prey to our own delusions or those of others is to keep our eyes fixed on an objective, external source of morality. No amount of prayer or Bible study can make a person's heart infallible. Until we are resurrected at the final judgment, our hearts will remain corrupted and corruptible. The answer is to always defer to the judgment of Moses, the Prophets, Yeshua, and the Apostles as recorded in Scripture.