You shouldn't eat too much fruit. Fruit is not a low-energy food. Because it tastes sweet and easy to eat more, the sugar in it will be converted into fat and piled up. Generally speaking, there is no direct connection between losing weight and eating fruit, but it still has some influence. To lose weight, we should reduce fruits with high sugar index, such as bananas and cantaloupes. Apples, kiwis, lemons, etc. Low sugar index can be given priority.
Exercise if you want to lose weight. This is better and healthier.