Both of them did what was right in God's eyes. They obeyed all the Lord's commandments and rules faithfully.