Final answer:
In Numbers 20:12, God tells Israel that their righteousness has not brought them the land because Moses strikes a rock instead of speaking to it as commanded.
Step-by-step explanation:
In the book of Numbers 20:12, God tells Israel that their righteousness has not brought them the land. This occurs when Moses strikes a rock instead of speaking to it, as God had commanded him. This act of disobedience results in God denying Moses and Aaron entry into the promised land of Canaan.