The best interpretation of the paradox in the phrase “I must be cruel, only to be kind” is:
Hamlet intends to do something that would typically be considered heartless, but he is actually doing it to be helpful and considerate.
This reflects the complexity of Hamlet's motivations, as he feels that in order to achieve a greater good, he must take actions that may seem harsh or cruel in the short term.