"if you hear God speaking". God's commands to Israel are spoken of as if he had given them in an audible voice. See how you translated this in Hebrews 3:7.
"do not be stubborn" or "do not refuse to listen"