When this was written, what commandments was the author or Author referring to? Just our verses later:
Trust in the Lord with all thine heart; and lean not unto thine own understanding.
Maybe it should read, “trust in the Word with all your heart and lean not on your own doctrines.”
The Lord will not violate His Word. His Word reveals Him. When we filter His Word through doctrines and our own understanding, we are no longer trusting Him, rather we are trusting the men that tell us what the Word says.
The Word is simple. His commandments are not burdensome.
My son, forget not my law; but let thine heart keep my commandments:
Proverbs 3:1 KJV