No the treaties that led to the EU were to prevent Germany and France having huge destructive wars every 20-50 years - something it has done very well so far.
EU was formed for opening up the market in a way that the economic benefit will be more for richer countries. In return, there are many benefits for other countries, but lifting up poor country was not that much of an aim.