God gives instructions to Noah to build an ark because He wanted to save Noah and his family from the flood that was to come.