The first two major decisions God makes following creation are both said to be matters of his heart: destroying all flesh except Noah (6:6), and accepting Noah’s sacrifice and determining never to flood the earth again (8:21). Apparently God is also complex enough to make decisions both of judgment and of mercy out of his heart.