No, the twelve spies were Israel's idea, not God's.
Watch the Teaching: Why Was Cain's Offering Rejected but Abel's Accepted?