'Yes, you were boasting.  Boasting about the affairs of men.

and that Jeremiah quote only demonstrates that you don't understand what your quote is telling you.
.
You could use a little more scriptural guidance.  
.
So then, no more boasting about human leaders! All things are yours,
.
.
But now ye rejoice in your boastings: all such rejoicing is evil.

.
To have a high opinion of our own wisdom, is but to flatter ourselves; and self-flattery is the next step to self-deceit. 

The wisdom that wordly men esteem, is foolishness with God. 

How justly does he despise, and how easily can he baffle and confound it! 

The thoughts of the wisest men in the world, have vanity, weakness, and folly in them.
.