Inherited from God
Anthropologists and social scientists may say that these things are instilled into us by culture, and this is at least partially true. That is why values can change over time. But that is not the entire answer. The fact that there are values at all, and what any society sees as the standards of behavior that are important, depends upon the universal truth that the people should even care about values. The ability for a civilization to have standards relies upon an inborn sense of justice in the individuals of that society. If that sense of justice is not there, if people simply did not care about what is fair and what is right, there could be no values at all.
The Apostle Paul speaks of it in this way: “In reference to your former manner of life, you lay aside the old self, which is being corrupted in accordance with the lusts of deceit, and that you be renewed in the spirit of your mind, and put on the new self, which in the likeness of God has been created in righteousness and holiness of the truth” (Ephesians 4:22-24 NAS).This is how we wash our robes. This is how we cleanse our lives. We put our trust in what Jesus already has done for us and we begin to walk in his light. We accept the grace of God. In this way, our robes and our lives become blood white in color, so brilliantly white, they fairly dazzle.
 In the Old Testament, the two words Justice and Righteousness both are taken primarily from the tsedek word group in Hebrew. In the New Testament, the translations come from the dikaios word group in Greek.