Is it good to use thread sleep?

Is it good to use thread sleep?

Calling the Thread. sleep() function is one technique to create synchronization and implement wait, however it is not advised because it is not particularly stable and trustworthy. It is necessary to specify the time in milliseconds.