Does praying and making a wise at the temple change anything in the story?
No, that's more for role-playing purposes 😊 If your character is more spiritual, they have the option to pray and if not, they can make a wish - or don't do either.