There are the ways of God and the ways of men.
There are the ways of God in heaven (Isaiah 55:8, 9), and the ways of God on earth as revealed in Jesus Christ (i.e. how Jesus lived as a human being under divine authority). Thus the ways of men on earth should be conformed to the way God lived when He was on earth.
2 Peter 2:2 – “the way of the truth”
2 Peter 2:21 – “the way of righteousness”