To play cricket & to watch a match is different things.
When you play, get very good exercise, which is very good for your health. But just sitting & wasting time is of no use.
You can make your self understand that if you spend this time with your books you will get good grades. You have already realised that it is not good.