 Vishnu realized his mistake and thanked Lakshmi for reminding him of his responsibilities. He then returned to his role as the preserver of the universe, restoring order and balance to the world. So there are two major flaws within this story if you notice. One is of course that he forgot his responsibility because he was lasting after a woman that is already extremely outrageous. However, there is another aspect that he rested. He actually needs rest and we all know that Allah needs no rest whatsoever. He doesn't need to take a break, he is the eternal one. And this is the main difference yet again that those are human qualities. Those gods here are flawed. There is a dude chilling under a tree looking after chicks for getting his job.