Does the Bible ever mention God replacing/changing one's memory?

Does the Bible ever mention any situation in which God gave someone a fake or replaced memory of the past in any way? Even though it's not necessarily directly related, I'm reminded about a couple odd things, like the priest Melkizedek (Hebrews 7:3 says about him: "Without father or mother, without genealogy,... show more Does the Bible ever mention any situation in which God gave someone a fake or replaced memory of the past in any way?

Even though it's not necessarily directly related, I'm reminded about a couple odd things, like the priest Melkizedek (Hebrews 7:3 says about him: "Without father or mother, without genealogy, without beginning of days or end of life, like the Son of God he remains a priest forever.")... so it makes one wonder who he told people he was, and where he came from. (though it is extremely trivial in importance, and beside the point)

Anyway, does anyone know of any situations where God "healed" or "masked" someone's memory of the past in any way?

Thanks!
8 answers 8