These peptides are very selective to inhibit the activities of STAT3 but not the STAT1 or 2 and prevent the growth of cancer cells harbouring the constitutive expression of STAT3. Here, STAT3 is linked to cancer.