The Council of Trent (1545-1563) was where the Roman Catholic Church codified their position against what they perceived as Protestant "heresies" and finally specified in writing positional statements for Catholic doctine on salvation, the sacraments, and the Biblical canon (Papal infallibility wasn't invoked as official church dogma until the First Vatican Council started in 1868 though it had been around for some time).
Council of Trent - Wikipedia, the free encyclopedia
Now the Jesuits (e.g. Society of Jesus) were approved by Pope Paul III in 1540 by the bull containing the
Formula of the Institute. Yes the Society participated in the Counter-Reformation but only AFTER the Council of Trent had concluded and the Roman Catholic Church's position made known. They were not formed for that purpose, though they certainly did engage in it after the conclusion of the Council of Trent.