The midwives, however, feared God and did not do as the king of Egypt had instructed: This was because they feared God more than they feared Pharaoh (1:21). Fear of the Lord refers to having reverent awe of him as the almighty Creator and Judge. This is the foundation of true knowledge and wisdom (Proverbs 1:7; 9:10).
The Lord is a friend to those who fear him (Psalm 25:14). The midwives understood that the Lord has more power than any human.