Every example of faith listed in Hebrews 11 is an example of works. In Romans 1:8, it speaks about their faith being reported all over the world and how else do you report someone's faith if not by speaking about the works that they did to practice their faith as Hebrews 11 does? This is why the Bible repeatedly connects our faith with our works. For example, in Matthew 23:23, Jesus said that faith is one of the weightier matters of the Mosaic Law. In Romans 3:31, our faith upholds God's law. In James 2:18, he would show his faith by his works. In Revelation 14:12, those who kept faith in Jesus are the same as those who kept God's commandments. In John 3:36, obeying Jesus is equated with believing in him. In Numbers 5:6, disobedience to God's law is described as breaking faith. In Hebrews 3:18-19, unbelief is equated with disobedience.
The many verses that that believing in Jesus is the way to eternal life and that obeying God's commands is the way to eternal life mean that God's commands are His instructions for how to have faith in Jesus. God is trustworthy, therefore His instructions are also trustworthy (Psalms 19:7), so the way to have faith in God is by having faith in what He has instructed. In Proverbs 3:5-7, we have a choice of whether we are going to lean on our own understanding of right and wrong by doing what is right in our own eyes or whether we are going to trust God with all of our heart to correctly divide between right and wrong by obeying His instructions, and this is what it means to have faith.
In Romans 1:5, we have received grace in order to bring about the obedience of faith. In Psalms 119:29-30, he wanted to put false ways far from him, for God to be gracious to him by teaching him to obey His law, and he chose the way of faithfulness by setting it before him, so this has always been the one and only way of salvation by grace through faith. In Ephesians 2:10, we are new creations in Christ to do good works, so while we do not earn our salvation as the result of our works lest anyone should boast, doing good works in nevertheless intrinsically part of the concept of being saved from not doing good works. It is not the case that we are required to have first done a certain amount of works in order to become saved as the result as through we could earn our salvation as a wage, but that works are the way to practice faith and it is by that faith that we are saved. Our obedience to God's law is about God giving the gift of salvation to us, not about us earning our salvation as a wage from God as the result of our works.