Proverbs 31:2-3

What my son? and what, the son of my womb? and what, the son of my vows? Give not your strength unto women, nor thy ways to that which destroyeth kings. KJV

No one knows who Lemuel is although Solomon is considered the most likely candidate. If this is true then Bathsheba is the one speaking in chapter 31 and 1 Kings 11, (read homework), could well be the reason for Proverbs 31.

When Solomon became king he asked God for wisdom.  In 1 Kings 3 God said He would give Solomon a wise and discerning mind unlike anyone before him or after. God also said He would give Him riches and honor and said in 1 Kings 3:14 And if thou wilt walk in my ways, to keep my statutes and commandments, as thy father David did walk, then I will lengthen thy days. KJV  Solomon got derailed.

God wanted Israel to be a testimony to the world of what God will do for anyone, people, or nations, who are willing to obey his Word continually. Anyone can benefit from Proverbs, especially leaders. God has special instructions for leaders in Deuteronomy 17:14-20 for finishing well. If you want to be blessed, trust and obey.