Jesus came to earth, and lived righteously before his Father.
Showing men, his character, Showing them so much about him.
That set a standard in their minds, now they would mimic his design.
And in doing all, this is the gist, the Apostle Paul prefaced his letters with this.
Rejoice in the Lord always. James said count it all joy, for his grace to deploy,
( when storms are multiplied within you life and on every side). And the Lord In his sermon on the mount did say, leap for Joy when your Persecuted for righteousness sake. Paul And Silas did so and the earth did quake, and they were set free.😉
Hebrews 1:8,9
8 But unto the Son he saith, Thy throne, O God, is for ever and ever: a sceptre of righteousness is the sceptre of thy kingdom.
9Thou hast loved righteousness, and hated iniquity; therefore God, even thy God, hath anointed thee with the oil of gladness above thy fellows.