If Jesus was God, why did He say "No one is good but God alone"?

This article has been translated into the following languages:

عربى 简体中文 繁體中文 Español Français हिन्दी Hrvatski Magyar Indonesia Italiano Kiswahili Polski Português සිංහල Tagalog