This is in line with the teaching of the Bible. Don't simply interpret commandments as laws. Many words of the Lord Jesus are also commandments, and God's law is also included in God's law. As the Lord himself said, I have not come to abolish the law, but to complete it.
Broadly speaking, all the teachings of the Bible can be called God's commandments. But in the New Testament era, we love Christ with complete love, trust Christ with complete faith, and thus become righteous in Christ, instead of being justified by the laws of the Old Testament era.