please I am looking for a free version of photoshop and illustrator 2016 or 2017 on macOs
There aren’t free versions, and if you’re hoping someone here can point you to pirated copies, that’s a violation of the forum rules.
Similar free alternatives are inkscape and gimp
Pirated software and the sites distributing it might infect your computer with some really nasty malware, capable of encrypting all your precious data or compromising your bank account, among other things.
You should stick to GIMP and Inkscape or buy the Affinity Suite.
You can get fully functioning free trials.
You might find someone selling their pre-CC license on ebay.
Good luck finding a box that’ll run that old software.