God still hates the workers of iniquity and so does not love all humanity!Here is a rule that will help determine the historical and prophetical context in the psalms. If you are reading about the King, then most likely you are reading of a time when our Lord is prosecuting his office on the earth as King. You will notice in Ps 5 that David says the Lord will destroy them that speak leasing. Since the earthly kingdom of Christ is described by the prophets of Israel as a glorious and peaceful, and as a righteous kingdom and that rebels and unbelievers are destroyed through great tribulation and by the second coming of Jesus Christ before it's institution, it is perfectly reasonable and logical for the psalmist to foresee a kingdom without rebels in it as citizens.
We have this context in Psa 5;
2 Hearken unto the voice of my cry, my King, and my God: for unto thee will I pray.
This is a Psalm of David. He is a prophet and his songs are prophetic.
Acts 2:29 Men and brethren, let me freely speak unto you of the patriarch David, that he is both dead and buried, and his sepulchre is with us unto this day.
30 Therefore being a prophet, and knowing that God had sworn with an oath to him, that of the fruit of his loins, according to the flesh, he would raise up Christ to sit on his throne;
History shows that our Lord Jesus occupies 3 offices over the earthly concurrently. He is the perfect prophet, he is the perfect priest, the office he is occupying at the Father's right hand in this very day, and the office of the perfect King, which is future.
Acts 3:22 For Moses truly said unto the fathers, A prophet shall the Lord your God raise up unto you of your brethren, like unto me; him shall ye hear in all things whatsoever he shall say unto you.
Seeing then that we have a great high priest, that is passed into the heavens, Jesus the Son of God, let us hold fast our profession.
Re 19:15 And out of his mouth goeth a sharp sword, that with it he should smite the nations: and he shall rule them with a rod of iron: and he treadeth the winepress of the fierceness and wrath of Almighty God.
16 And he hath on his vesture and on his thigh a name written, King Of Kings, And Lord Of Lords.
The Psalms are wonderful.