i3 3rd gen or i5 2nd gen

first of all,forgive me if my language is bad, and i don’t know pc/computer so much. since i’m new here, i’m also sorry if this forum just for “gaming pc and stuff” but i need u guys opinions.

i want to buy a pc just for work stuff(microsoft office, and maybe some youtube or spotify, and browser obviously) not for any kind of gaming things. i’m really tight on the budget here, and since the store that sell it says that both of it have similiar prices. i know that both these things are slow/old/outdated, but since i will just using this for work stuff anyway, i thought “maybe” this is enough.

whoever read this and have an answer or opinion, please comment, ur suggestion mean a lot, thanks.