They still are contradictory
Psalms 145:9 says God is good to all. It doesn't make any stipulations. Other places in the bible make stipulations so one or the other is wrong. All is absolute there can be no exceptions to absolute.
Please approach this logically. If I said all houses are mustangs, but then said except for palominos my first attachment would be contradicted.
I understand if you are Christian and are part of a sect that demands you to believe the entire bible is the absolute word of God, I hold no contempt for you. But if you cannot separate your belief from this I'm afraid this is a pointless discussion.
The Bible is a collection of books. This collection includes history, poetry, and literature. What we are comparing is a book of poetry to a book of history, and you seem to be saying, "Look, the book of poetry contradicts the history book."
A second misconception you may have is that not all Christian sects teach that every word of the Bible is literally true. I have gone to many Catholic Bible studies, and usually the first thing we discuss is the purpose of the author of that particular book--and who his audience was. We discuss, What was the author trying to teach his audience?
Psalms is teaching us that God loves all of His creation and cares for us--even during very dark times. Jeremiah was exhorting a people to obey God and return to His ways, else their conduct would bring evil down among them.
You see, I am trying to approach this logically. And logically, I don't take a book of poetry and use it to disprove history--especially not when one was written many years before the other.