Was it God's idea to send spies into the Promised Land?

No, the twelve spies were Israel's idea, not God's.

Watch the Teaching: Why Was Cain's Offering Rejected but Abel's Accepted?