Hi
You are correct about intel core i5 being good prosessors but the one you have is from 2011 witch is quite sometime before most modern games were published and the 2gb of ram probably isn’t helping
Long story short :your prosessor is a little on the old side and you will need newer hardware and a dedicated GPU in the 15inch and 16inch MacBook Pro’s if you want to get the best gaming performance for games on your Mac
Hopefully this answers your question
Any questions please ask
Thanks:)