What are some evidences of grace and godliness that we see in Solomon in these chapters?

What are some signs of sin, and selfishness in Solomon in these chapters?

Why is it concerning that Solomon marries the daughter of Pharaoh and forms and alliance with Egypt (3:1)?  (See also Deuteronomy 7:1-4.)

Why is God impressed with the particular request that Solomon makes in 3:6-9?

How do we see the wisdom that God gave Solomon on display in 3:16-28?

How does the story of Solomon serve to encourage us?  How does it point to the faithfulness of God?

How does the story of Solomon serve as a cautionary tale, and a warning for us?  How does it prompt to look carefully at our own lives, and to be diligent to fight against sin and compromise?