Psalm 15:4 (ESV)

4 in whose eyes a vile person is despised, but who honors those who fear the LORD; who swears to his own hurt and does not change;

The righteous is someone who does not defend or rationalize the actions of the wicked (or the vile, as they are called here), but honours the Godfearing righteous. God is not arbitrary. Toward the scorners he is scornful, but to the humble he gives favor (Proverbs 3:34). There is a good reason why God rejects certain people. Man first rejected God and his covenant. Those that do not seek God are rejected by him (Psalm 53:1–6). Those who separate themselves from those who have rejected God may remain members of God’s household. Isn’t this type of divisiveness typical of the Old Testament? Jesus’ reaction when the masses turned against him shows that it is not. He spoke to them in parables, knowing that they would not see with their eyes and hear with their ears and understand with their heart (Matthew 13:15). The division between Jesus’ disciples and his enemies ran through the nation of Israel. Jesus forecasted that he had come to bring division in the Jewish church (Matthew 10:34–37).

On the other hand, Psalm 15:1–5 teaches us to honour fellow members of the household of God, even if they are poor or uneducated.

The righteous keeps his promises, even if doing so disadvantages him.