The prophet Malachi warned Israel against trying to appease God with religious activity, while dishonoring Him in their hearts.