He was loyal to the Lord and did not abandon him. He obeyed the commandments which the Lord had given to Moses.