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