The conclusion: “Fear God and keep his commandments”. The reason for these is given, “For God will bring every deed into judgment. including every hidden thing, whether it is good or evil.”
So is everything “meaningless, meaningless”? People’s pursuits apart from fearing God and keeping his commandments are meaningless. From God’s perspective, our thoughts and actions are either good or evil. His commandments give us an idea of how we were meant to live. The root of his commandments is loving God and others.
When asked, “Teacher, which is the greatest commandment in the Law?” he answered. “‘Love the Lord your God with all your heart and with all your soul and with all your mind.’ This is the first and greatest commandment. And the second is like it: ‘Love your neighbor as yourself.’ All the Law and the Prophets hang on these two commandments.” (Matthew 22:37-40)