Death and taxes are two things in life that are certain and unavoidable, so the simile is emphasizing that the end of the world is also certain and unavoidable.
Consider the staetement "We have come to the realization that the end of the world is unavoidable.". Based on this statement, is "We have learned that the ending of the Earth is like death and taxes." a true statement? Yes/no/unknown