Complex sentence: It portrays him as great in wisdom, wealth, and power, but ultimately as a king whose sins, including idolatry and turning away from Yahweh, led to the kingdom's being torn in two during the reign of his son Rehoboam.
Split into simpler sentences: It portrays him as great in wisdom, wealth, and power, but ultimately as a human king who sinned. His sins included idolatry and turning away from Yahweh, and led to the kingdom's being torn in two during the reign of his son Rehoboam.