Suggest the following
Join wire 1 red,wire 2 red and wire 3 red together
Join wire 1 black, wire 2 black and light fitting neutral together
Join wire 4 red and light fitting live together
Join all yellow and greens together along with light fitting yellow and green