Genesis 22 has one of the purest examples of the fear of the Lord. Here’s Abraham with his only son. He wakes up one day, and is informed by God that he is to take Isaac to the mountains and sacrifice him.
Just as he was about to carry out the sacrifice, God stops him and tells him not to slay his only son, he provided a ram for the sacrifice.
Because of this fearful obedience, the nation of Israel sprung forth.
Abraham passed the test.