What if the beans have bugs?

The method is as follows:

First, soak beans in boiling water to kill bugs and eggs.

Second, put the beans directly into the freezer to freeze, kill the bugs and pick them out.

Third, lay it flat in the sun and expose it to the sun, and sieve it with a sieve to leave intact beans.