Final answer:
Ananias and Sapphira died because they lied to the Holy Spirit.
Step-by-step explanation:
Ananias and Sapphira died because they lied to the Holy Spirit. In the book of Acts, it is mentioned that Ananias and Sapphira sold their property and gave a portion of the money to the apostles but claimed that they were giving the full amount. Peter, filled with the Holy Spirit, confronted them about their lie, and they dropped dead. This incident served as a warning to the early Christian community about the importance of integrity and honesty.