It's interesting, in verses 7 through 9 the man is asking God not to let him be rich or poor. He knows that people with a lot of money often only seek God when they are in need, rather than daily... they fill themselves with material things and choose to let wealth guide them instead of God. He also knows that being poor can lead to a lot of unwise decisions that feel like they cannot be prevented such as stealing which brings dishonor to God. It comes across to me as a prayer for wisdom... he just wants to have enough, nothing more but nothing less.
"Those who are pure in their own eyes and yet are not cleansed of their filth." (V12)
So many people think they can be cleansed and 'accepted' by God by simply 'doing good', by having a good heart, being kind and refraining from most if not all things that lead us down the wrong path... it's not the case. God is the only way. John 14:6 says, "Jesus answered, I am the way and the truth and the life. No one comes to the Father except through me." We cannot cleanse ourselves.
The verses that continue until the end of this chapter seem like warnings to me. He is also talking about the way things have become and our growing need for God in our lives.