There are several verb patterns with ‘it’.
It + be + adjective + of + noun / pronoun + to-infinitive
It is kind of you to help them.
It is clever of you to solve this puzzle.
It is careless of you to make this mistake.
It was unwise of me to lend him money.
It was foolish of him to reject the offer.
It is wicked of her to say such things.
It is cruel of him to treat his servants like that.
Common adjectives that can be used in this pattern include: good, kind, generous, foolish, unwise, stupid, considerate, clever, wise, nice, brave, polite, wicked, silly, careless, cruel, cowardly etc.
It + be + adjective + to-infinitive
It is easy to solve this problem.
It may be difficult to find another job.
It is bad to tell lies.
It is cruel to treat animals in that way.
It was impossible to win.
It + be + (no) good, etc. + gerund phrase
It is no good talking to him.
It is no use waiting for them.
It is no use worrying about it.
It is worth visiting Kashmir.
It is not worth talking to him.
It + be + adjective / noun + noun clause
It is strange that she should have behaved like that.
It is possible that they do not understand our language.
It is fortunate that you escaped unhurt.