If you stop to think about it this is a variation of the Golden Rule.
(Mat 7:12 KJV) Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets.The concept of the Golden Rule is not limited to the Bible. Some present it in a proactive way, like Jesus did in the verse quoted. Others put it in a restrictive way, don’t do something that you don’t want done to you. Here Proverbs takes that approach.
So? If you don’t listen to others, don’t expect them to listen to you. It may not be the way you want it, but it is fair.