Teaching Arabic literature is counted among the permissible activities, and taking payment for it is permissible, as long as the curriculum does not contain immorality, wickedness, vile speech, or rebellion and revolt against the laws of Islam.
Reference: Al-Lajnah al-Da’imah: 20153