Whole” and “hole” sounds the same, but they have different meanings.

Whole” means all or entire of something.

An example, “She told the whole class about her story.”

Hole” means a wide place in a surface.

An example, “The kids dug out a small hole at the beach.”