He remained loyal to Yahweh and never disobeyed him. He carefully obeyed all the commandments that Yahweh had given to Moses.