David found that water can be created in a lab by burning hydrogen gas in the air. He concluded that water is not a compound because only hydrogen was used to form the water. What is wrong with David's conclusion?