But God remembered Noah and all the beasts and all the livestock that were with him in the ark. Gen 8:1
Zakat often translated "remember"
but in reference to God, it conveys “thought about” or “turned attention to” (compare 19:29; 30:22). God’s purpose for the flood is accomplished, so He turns His attention back to Noah and the ark.
God doesn't remember our sins, rather chooses to turn his attention elsewhere. Not in a way a parent may when uncomfortable with confrontation, but in such as way as to conform to his nature.