Rashi says in Parshas Beshalach Shemos 14:4, sv ויעשו כן:
[This is stated] to tell their praise, that they obeyed Moshe and did not say, “How will we draw near to our enemies [by returning in the direction of Egypt]? We have to escape.” Instead they said, “All we have are the words of moshe the son of Amram.” [I.e., we have no other plan to follow, only the words of the son of Amram.]
If it's true that they only listen to the words of [Moshe] the son of Amram, then why later on do they do the chate hagel (the sin of the golden calf) or any of the other sins the jews did in the desert?