Solomon's lack of selfishness pleased God and he was rewarded with becoming the wisest man in history.