Then they would put their trust in God and would not forget his deeds but would keep his commands. (NIV)
That they might set their hope in God and not forget the works of God, but might keep His commandments (AMP)
That they might set their hope in God, and not forget the works of God, but keep his commandments: (KJV)