 He was pious, as described in the very word of God. And so in biblical terms and understanding, that would mean not that he was perfect in every action or thought or word, that he was a believer, that he trusted in the messianic promises of the one true God, just like Abraham, Isaac, and Jacob, to name a few.