How to get my 4 year old to listen?

He just turned 4 today :)

Most of the time, he is a good kid. But when hes outside and its time to come home.. godddd😫😫😭😭 even if its our backyard, he always pushes back .

I’ll tell him its time to go home and he’ll say NO!! Scream, kick, run away from me.

I try to entice him with some good food inside or something but that doesnt always work.

Does this just get better as they mature?😭 Or am I missing something here? First time mom heere..