That is very reductive of the whole situation. The Egyptians are not singularly focused on helping Palestinians; it is far more nuanced than that.
Bottom line, Egyptians are not interested in supporting millions of refugees inside their border. So the border stays closed to mass immigration.
All that may be true.
Also true: If Egypt opened the border and Israel objected, Israel would take swift military action.