He learned he was weak.
However I really think if God Himself dropped by and told me to stop doing something I would not have the guts to say, "Nah, it's fine".
Even Pagan Kings tended to decide to clean up their act when that happened.