It was faith that kept Enoch from dying. Instead, he was taken up to God, and nobody could find him, because God had taken him up. The scripture says that before Enoch was taken up, he had pleased God. 1
References for Hebrews 11:5
11.5 Gn 5.21-24 (LXX)+2 Si 44.16.