King David was a prophet. Righteous people are judged more harshly in the Bible. Moses was banned from entering the Land of Israel by G-d and he was the greatest prophet of all.
If you want to judge Sharon with a Biblical king, try King Omri. Omri did build up Shomron. But he also was an evil man.